From 16cadf1de740ab53bf64b56be1d0547ee2ef010b Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Fri, 15 Dec 2023 17:11:13 -0500 Subject: [PATCH] Prevent dragging library tab --- chrome/content/zotero/components/tabBar.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/components/tabBar.jsx b/chrome/content/zotero/components/tabBar.jsx index 7fa6743277..e994cc0895 100644 --- a/chrome/content/zotero/components/tabBar.jsx +++ b/chrome/content/zotero/components/tabBar.jsx @@ -139,6 +139,7 @@ const TabBar = forwardRef(function (props, ref) { function handleDragStart(event, id, index) { // Library tab is not draggable if (index === 0) { + event.preventDefault(); return; } event.dataTransfer.effectAllowed = 'move';