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

feat(ui5-select): Change focus of options on keypress #3538

Merged
merged 6 commits into from
Aug 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix if-else section
IlianaB committed Jul 26, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2ec3c8affb10f7adb3085279b25f5b0f3783e2a9
4 changes: 2 additions & 2 deletions packages/main/src/Select.js
Original file line number Diff line number Diff line change
@@ -460,10 +460,10 @@ class Select extends UI5Element {
this._handleEndKey(event);
} else if (isEnter(event)) {
this._handleSelectionChange();
} else if (isDown(event) || isUp(event)) {
this._handleArrowNavigation(event);
} else if (event.keyCode >= 65 && event.keyCode <= 90) {
IlianaB marked this conversation as resolved.
Show resolved Hide resolved
this._handleKeyboardNavigation(event);
} else {
this._handleArrowNavigation(event);
}
}