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

Event Listeners are never removed #189

Open
denisthe opened this issue Jan 20, 2021 · 0 comments
Open

Event Listeners are never removed #189

denisthe opened this issue Jan 20, 2021 · 0 comments

Comments

@denisthe
Copy link

While debugging a memory leak on a project, I noticed that when a toast appear, it add a pointercancel, pointermove and a pointerup event listener. Those event listener are never removed and each time a new toast appear, there's 3 new event listeners for the toast.

Reproducing steps:
https://shakee93.github.io/vue-toasted/#!

click a bunch of times on launch toast and you should see a bunch of new event listeners

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant