diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 8d0fb170b4..e1ffe9cee7 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -174,10 +174,11 @@ var ZoteroPane = new function() if (isMenu && ['ArrowUp', 'ArrowDown'].includes(key)) { return; } - if (verticalArrowIsTab && key == 'ArrowUp') { + let onInput = event.originalTarget.tagName.toLowerCase() == "input"; + if (verticalArrowIsTab && key == 'ArrowUp' && !onInput) { key = 'ShiftTab'; } - else if (verticalArrowIsTab && key == 'ArrowDown') { + else if (verticalArrowIsTab && key == 'ArrowDown' && !onInput) { key = 'Tab'; } let focusFunction = actionsMap[event.target.id]?.[key];