Skip to content
New issue

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

Form Reset/Submit DOM Memory Leak #2783

Open
melloware opened this issue Mar 31, 2024 · 0 comments
Open

Form Reset/Submit DOM Memory Leak #2783

melloware opened this issue Mar 31, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@melloware
Copy link

  • Describe the bug

Similar to this old issue: #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.

image

If I call jq..inputmask('remove').inputmask(maskCfg); 3 times I now see this..

image

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
@melloware melloware changed the title Form Reset/Submit Dom Memory Leak Form Reset/Submit DOM Memory Leak Mar 31, 2024
@RobinHerbots RobinHerbots self-assigned this Apr 2, 2024
@RobinHerbots RobinHerbots added this to the 5.0.9 milestone Apr 2, 2024
@RobinHerbots RobinHerbots pinned this issue Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants