Skip to content

Commit

Permalink
fix(ui5-select): prevent scrolling upon ALt+ArrowDown/Up/F4 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 authored Feb 12, 2019
1 parent 8c87778 commit c22eae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class Select extends WebComponent {
const key = event.which;

if (key === KeyCodes.F4 || (event.altKey && Select.ARROWS.includes(key))) {
event.preventDefault();
this.Suggestions.toggle();
}
}
Expand Down

0 comments on commit c22eae1

Please sign in to comment.