-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(menu): enable numpad arrow and Enter keys #4492
Conversation
Lighthouse scores
What is this?Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on Transfer Size
Request Count
|
Tachometer resultsChromeaction-menu permalinktest-basic
test-directive permalink
test-lazy permalink
test-open-close-directive permalink
test-open-close permalink
combobox permalinkbasic-test
light-dom-test permalink
menu permalinktest-basic
picker permalinkbasic-test
split-button permalinkbasic-test
Firefoxaction-menu permalinktest-basic
test-directive permalink
test-lazy permalink
test-open-close-directive permalink
test-open-close permalink
combobox permalinkbasic-test
light-dom-test permalink
menu permalinktest-basic
picker permalinkbasic-test
split-button permalinkbasic-test
|
@nikkimk Tests are making some noise! Can you please check and do the needful so that we can land this! |
…be/spectrum-web-components into nikkimk/3751-bug-sp-menu-numpad-keys
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.
Can we add relevant tests for this
@ blunteshwar any ideas on how to add tests for this given the above? |
I think you can use SendKeys to send Numpad keys Screen.Recording.2024-05-29.at.8.29.40.PM.mov |
…be/spectrum-web-components into nikkimk/3751-bug-sp-menu-numpad-keys
@blunteshwar thanks. I've added the update. We just won't be able to do Numpad arrow keys that way. |
Description
Handles
keydown
event byevent.key
instead ofevent.code
so that numpad keys will work with menu.Related issue(s)
How has this been tested?
Types of changes
Checklist
SendKeys
to test Numpad keys)