vue-bulma / cleave

Vue Cleave component is based on cleave.js for Vue
MIT License
105 stars 17 forks source link

Using setimeout to handle callstack #9

Closed gongdao123 closed 7 years ago

gongdao123 commented 7 years ago

It's more like a hack, but this way we can fix the call stack problem.

jaybeecave commented 7 years ago

Would it be less hacky to use this.$nextTick()?

https://vuejs.org/v2/api/#vm-nextTick