mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 08:14:06 +00:00
[backport core/1.33] fix: preserve node selection on right-click (#7262)
Backport of #7162 to `core/1.33` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7262-backport-core-1-33-fix-preserve-node-selection-on-right-click-2c46d73d36508198a959dd8b2cd99fd8) by [Unito](https://www.unito.io) Co-authored-by: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -127,6 +127,10 @@ export function useNodePointerInteractions(
|
||||
safeDragEnd(event)
|
||||
return
|
||||
}
|
||||
|
||||
// Skip selection handling for right-click (button 2) - context menu handles its own selection
|
||||
if (event.button === 2) return
|
||||
|
||||
const multiSelect = isMultiSelectKey(event)
|
||||
|
||||
const nodeId = toValue(nodeIdRef)
|
||||
|
||||
Reference in New Issue
Block a user