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

Error from assigning to readonly KeyboardEvent.which #469

Open
mminer opened this issue Jan 13, 2020 · 0 comments
Open

Error from assigning to readonly KeyboardEvent.which #469

mminer opened this issue Jan 13, 2020 · 0 comments

Comments

@mminer
Copy link

mminer commented Jan 13, 2020

I've logged a few reports of this line:
https://github.com/ccampbell/mousetrap/blob/master/mousetrap.js#L721

Throwing this error:
TypeError: Cannot assign to read only property 'which' of object '#<KeyboardEvent>'

I can't reproduce it myself and I'm unsure which key was pressed to make that code path execute. Happened on Chrome 79 on both macOS and Windows.

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