jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Memory Leak?! for TimeOut #11

Closed jonathanpmartins closed 3 years ago

jonathanpmartins commented 3 years ago

This pull request was originally open by @moweiyang0214 (https://github.com/vuejs-tips/v-money/pull/82). But it was never merged.

jonathanpmartins commented 3 years ago

I could not reproduce this problem, but when the code that "fixes" this issue was introduce, I detected a problem with setCursor. "The cursor (at the end on focus) doesn't work anymore!"

I reverted the code in version 3.10.0

@moweiyang0214, can you describe an example that this problem happens?