Skip to content

Commit

Permalink
Merge pull request #6509 from dmitrylyzo/fix-nav-regression
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Feb 9, 2025
2 parents 5d8ab6a + 0f59807 commit d305498
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/elements/emby-select/emby-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,9 @@ function onMouseDown(e) {
}

function onKeyDown(e) {
switch (e.keyCode) {
case 13:
if (!enableNativeMenu()) {
e.preventDefault();
showActionSheet(this);
}
return;
case 37:
case 38:
case 39:
case 40:
if (layoutManager.tv) {
e.preventDefault();
}
return;
default:
break;
if (e.keyCode === 13 && !enableNativeMenu()) {
e.preventDefault();
showActionSheet(this);
}
}

Expand Down

0 comments on commit d305498

Please sign in to comment.