uNmAnNeR / imaskjs

vanilla javascript input mask
https://imask.js.org
MIT License
4.96k stars 258 forks source link

Incorrect operation of the mask when characters overflow #1077

Open MrFokus opened 2 months ago

MrFokus commented 2 months ago

Greetings, I ran into a problem on nuxt 3. When using the v-mask directive on an input with this mask mask: "{+7} (000) 000 00 00" a problem arises - if you enter more characters than in the mask, then one more character is written to the value, or more precisely, the least entered character is written. (https://stackblitz.com/edit/nuxt-starter-qymjcz ?file=pages%2Findex.vue)Link on playback. Try to enter a lot of characters and you will see everything. If I made a mistake somewhere, let me know, I will be grateful image image

subliminality commented 1 week ago

Having the same issue utilizing the vue v-mask directive.