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.
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