Inputmask
Inputmask copied to clipboard
Form Reset/Submit DOM Memory Leak
- Describe the bug
Similar to this old issue: https://github.com/RobinHerbots/Inputmask/issues/1466
I am using jQuery InputMask and if I call jq.inputmask("remove"); I can see detached HTMLInputElement in memory and its because of the InputMask reset and submit events.
If I call jq..inputmask('remove').inputmask(maskCfg); 3 times I now see this..
You can see its got 3 references so the garbage collector can never clean up the Detached DOM Element.
- OS: Windows 11
- Browser: Chrome /Edge latest
- Inputmask version: latest 5.0.9 rev 50