-
Notifications
You must be signed in to change notification settings - Fork 4.7k
components: Add normalizeArrowKey #33208
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
Conversation
|
Size Change: 0 B Total Size: 1.06 MB ℹ️ View Unchanged
|
Maybe creating a simple input element, adding this in the |
Nevermind, I just realised that this is an issue with IE / Edge. Yeah I guess that the only way would be a few small unit tests:
|
2a38517 to
7fd294c
Compare
|
Added tests, ready for review! |
ciampo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for adding the tests 🚀
* components: Add normalizeArrowKey * Add tests * Improve the test
Description
Adds a new
normalizeArrowKeyutility required by TextInputHow has this been tested?
Not sure how to test this effectively without testing the implementation details.
Types of changes
New feature
Checklist:
*.native.jsfiles for terms that need renaming or removal).