beholdr / maska

Simple zero-dependency input mask for Alpine.js, Svelte, Vue.js and vanilla JS.

Home Page:https://beholdr.github.io/maska/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mask reset after re-render

alloself opened this issue · comments

Describe the bug

when hiding a component and re-rendering it, the mask in the input is reset

Steps to reproduce

the video shows the steps to reproduce

1)https://codesandbox.io/s/pensive-mclaren-5gpvvf
2)https://jam.dev/c/dcb56576-db0f-4e8a-b1a3-fa5f4e14bbcd

I have just released v3-beta. Could you check if this issue still actual?