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

Remove usage of deprecated getCode function from ember-keyboard #689

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

andrewpye
Copy link
Member

Removes our previous usage of getCode from ember-keyboard in the PolarisTextField component to prevent an error being thrown when typing values into numeric text fields.

@andrewpye andrewpye self-assigned this Dec 16, 2020
Comment on lines +630 to +631
which === 13 /* Enter key */ ||
numbersSpec.test(key)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are based on the React implementation.

@andrewpye andrewpye merged commit 049435f into master Dec 16, 2020
@andrewpye andrewpye deleted the fix/remove-deprecated-key-code-function branch December 16, 2020 10:44
@vladucu vladucu added the bug Something isn't working label Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants