From 9d8e54a51cf1f800883d19569e6349f121b3bae3 Mon Sep 17 00:00:00 2001 From: AustinMroz Date: Fri, 16 Jan 2026 20:36:36 -0800 Subject: [PATCH] Fix dragndrop subgraph widgets sticking to cursor (#8114) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Under some circumstances, subgraph widgets in the properties panel would have incorrect drag state - Debouncing list state would cause a race condition where a double click would initiate a drag on an element that no longer exists - This is solved by removing the debounce. - Right clicking on widgets would initiate a drag - Dragging now explicity requires a primary button click. Additionally, drag is now ended on `pointercancel`. This is purely for safety and may not actually be required. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8114-Fix-dragndrop-subgraph-widgets-sticking-to-cursor-2ea6d73d365081f08515e8231bd87bdc) by [Unito](https://www.unito.io) --- .../rightSidePanel/subgraph/SubgraphEditor.vue | 15 ++++++--------- src/scripts/ui/draggableList.ts | 4 ++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/rightSidePanel/subgraph/SubgraphEditor.vue b/src/components/rightSidePanel/subgraph/SubgraphEditor.vue index 7d3d4dcfb..10c05ec16 100644 --- a/src/components/rightSidePanel/subgraph/SubgraphEditor.vue +++ b/src/components/rightSidePanel/subgraph/SubgraphEditor.vue @@ -1,5 +1,4 @@