From e69ce9b86c201aa334198fffdfc5ea2f1514931a Mon Sep 17 00:00:00 2001 From: Bogdan Abaev Date: Thu, 1 Feb 2024 14:23:36 -0500 Subject: [PATCH] avoid ztabindex overlap when new creator is added Increated the ztabindex offset for non-creator rows, so that when a new creator is added but not saved yet, there is no two elements with the same ztabindex which would break tab-based navigation Fixes: #3666 --- chrome/content/zotero/elements/itemBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 8366887e11..8e71561f98 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -50,7 +50,7 @@ this._editableFields = []; this._fieldAlternatives = {}; this._fieldOrder = []; - this._tabIndexMinCreators = 10; + this._tabIndexMinCreators = 100; this._tabIndexMaxFields = 0; this._initialVisibleCreators = 5; this._draggedCreator = false;