Current Behavior
When using middle click to pan across the editor workspace, if the click event happens while you're hovering over a wire, it activates auto-scroll, which typically jerks the workspace quickly in the opposite of the direction you are trying to pan.
Expected Behavior
This should behave the same as if you started to pan while hovering over the canvas or over a block - pan the workspace.
Steps To Reproduce
Attempt to pan like normal, then hover over a wire and then attempt to pan.
Example flow
Not necessary, any flow should work.
Environment
Running through FlowFuse
- Node-RED version: v4.0.8
- Node.js version: v20.11.1
- npm version: 10.2.4
- Platform/OS: Windows 11 (Windows_NT 10.0.22631 x64 LE logged in console)
- Browser: Chrome Version 144.0.7559.133 (Official Build) (64-bit), others