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

Mousetrap doesn't respond to the keyup event in some conditions, but the document.addEventListener works. #429

Open
KoStard opened this issue Aug 26, 2018 · 0 comments

Comments

@KoStard
Copy link

KoStard commented Aug 26, 2018

In my project https://github.com/KoStard/Pharmony in view.js, in some conditions, when popup window is visible, mousetrap doesn't respond to esc keyup, but if I use document.addEventListener('keyup', ()=>{...}) I get the event. Is there any difference between these methods, and how can I avoid this bug?

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