Skip to content

Conversation

@bantic
Copy link
Collaborator

@bantic bantic commented Mar 24, 2016

Firefox fires keypress events for up/down arrows (Chrome, Safari and IE11 do not), and Key#isPrintable was incorrectly returning true for these events because String.fromCharCode(0).length > 0. This updates Key#isPrintable to return false when the source event was an arrow keypress.

@bantic bantic merged commit 678921a into master Mar 24, 2016
@bantic bantic deleted the fix-ff-up-down branch March 24, 2016 21:39
@bantic
Copy link
Collaborator Author

bantic commented Mar 24, 2016

released in v0.9.1

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