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

fix: reset event listeners on window correctly #119

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Aug 1, 2018

We add these listeners with true so we must remove them with true, or else nothing will happen.

Reported in #8

See the docs here:useCaption on https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener

@brandonocasey brandonocasey merged commit b6a8125 into master Aug 1, 2018
@brandonocasey brandonocasey deleted the fix/correct-event-listner-dispose branch August 1, 2018 21:05
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

Successfully merging this pull request may close these issues.

2 participants