From 7c662dd59df9cd185bff9596f2611a8b9e56d10b Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Tue, 15 Jul 2025 17:19:16 +0200 Subject: [PATCH] Fix incorrect context menu when renaming collection #5374 --- chrome/content/zotero/components/virtualized-table.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/components/virtualized-table.jsx b/chrome/content/zotero/components/virtualized-table.jsx index 6a7de25468..17faebee53 100644 --- a/chrome/content/zotero/components/virtualized-table.jsx +++ b/chrome/content/zotero/components/virtualized-table.jsx @@ -727,6 +727,10 @@ class VirtualizedTable extends React.Component { } _handleContextMenu = async (e, index) => { + if (e.target.nodeName.toLocaleLowerCase() === 'input') { + // Do not hijack context menu on inputs, fixes #5374 + return; + } if (!this.selection.isSelected(index)) { this._onSelection(index, false, false); }