Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: LMB Click-drag needs to activate rectangle selection, not pan the node view

Open
#4,198 7 comments 3 reactions 0 assignees View on GitHub
area:navigation enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

I would like LMB click-drag (without need to use Ctrl key) to activate rectangle selection, similar to other node based editing UI.

### Proposed workflow

1. Click-Drag using LMB (without Ctrl key) on the empty space in node view
2. Selection rectangle will appear

### Additional information

The panning functionality could be bound to Right Mouse Button click-drag, which is currently not used for anything, so a middle mouse button would not be required.

The UI framework is clearly able to distinguish between RMB Click and RMB Click-Drag actions, so the RMB Click context menu functionality would remain unaffected.

I find it cumbersome using the software with the way it is currently configured.

The Lite Graph section of Settings menu is has many advanced settings already, so I feel there is a good argument to include this as an option.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4198-Feature-Request-LMB-Click-drag-needs-to-activate-rectangle-selection-not-pan-the-n-2146d73d3650813795f0ca5f8b33de83) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.