We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Not triggering events when using custom maskRef.
To Reproduce https://svelte.dev/repl/461c2cb07708415c8609d33730c05a5a?version=4.2.10
Expected behavior It should trigger events.
Additional context Replacing:
if (opts instanceof IMask.InputMask) maskRef = opts;
With:
if (opts instanceof IMask.InputMask) { if (maskRef) maskRef.destroy(); maskRef = initMask(el, opts); }
Seems to fix the problem.
The text was updated successfully, but these errors were encountered:
3f8d24e
No branches or pull requests
Describe the bug
Not triggering events when using custom maskRef.
To Reproduce
https://svelte.dev/repl/461c2cb07708415c8609d33730c05a5a?version=4.2.10
Expected behavior
It should trigger events.
Additional context
Replacing:
With:
Seems to fix the problem.
The text was updated successfully, but these errors were encountered: