You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to clear event listener we are using mousetrap._handleKeyEvent which is actually not defined ( it is private to the library ).
so basically, when assigning on a component, we will be leaking DOM nodes because of that.
The only way I can see to do that is to clone moustrap somewhere, add a function to cleanup ( moving the cleanup code from this addon to mousetrap ), create a PR and wait for it to be accepeted.
In the mean time, we can use the cloned moustrap to fix this issue.
The text was updated successfully, but these errors were encountered:
to clear event listener we are using
mousetrap._handleKeyEvent
which is actually not defined ( it is private to the library ).so basically, when assigning on a component, we will be leaking DOM nodes because of that.
The only way I can see to do that is to clone
moustrap
somewhere, add a function to cleanup ( moving the cleanup code from this addon to mousetrap ), create a PR and wait for it to be accepeted.In the mean time, we can use the cloned moustrap to fix this issue.
The text was updated successfully, but these errors were encountered: