-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
components: Add normalizeArrowKey #33208
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! |
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
normalizeArrowKey
utility 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.js
files for terms that need renaming or removal).