-
Notifications
You must be signed in to change notification settings - Fork 273
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
feat(ui5-combobox): add full keyboard handling #4494
Conversation
[ALT]+[UP]/[DOWN],[F4] issues with the focus on open and text selection on close remain |
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.
When F4 or Alt+Arr is used to open the picker the focus should go to the first item (and it should also be selected), it works only if there is not a value state present. If it is - the value state is focused, which is wrong.
Otherwise the changes looks fine.
The keyboard specification for the ComboBox is now fully implemented, with the addition of the following keys:
F4
,ALT
+UP
/DOWN
- Toggles the picker.PAGEDOWN
- Moves selection down by page size (10 items by default).PAGEUP
- Moves selection up by page size (10 items by default).HOME
- If focus is in the ComboBox, moves cursor at the beginning of text. If focus is in the picker, selects the first item.END
- If focus is in the ComboBox, moves cursor at the end of text. If focus is in the picker, selects the last item.Related to: #3090