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

[BUGFIX] up/down arrows in Firefox should not update mobiledoc #351

Merged
merged 1 commit into from
Mar 24, 2016

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.

1 participant