mirror of
https://github.com/zotero/zotero.git
synced 2026-09-28 01:31:40 +00:00
qf: default arrowUp handling on locator menulist (#4965)
Do not close details panel on arrowUp when locator type menulist is focused to allow for default handling (e.g. select the next/previous option on windows). Fixes: #4953
This commit is contained in:
parent
0b44461a66
commit
7dad8377df
1 changed files with 2 additions and 1 deletions
|
|
@ -2278,7 +2278,8 @@ var Zotero_QuickFormat = new function () {
|
|||
}
|
||||
}
|
||||
// Arrow up closes the popup
|
||||
if (event.key === "ArrowUp") {
|
||||
// (except on locator type dropdown to allow for default handling)
|
||||
if (event.key === "ArrowUp" && event.target.tagName !== "menulist") {
|
||||
skipInputRefocus = true;
|
||||
itemPopover.hidePopup();
|
||||
return stopEvent();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue