Skip to content

🐛 [BUG]: scroll wheel not hidden when dragging with middle mouse button #1557

@eensander

Description

@eensander

Is there an existing issue for this?

  • I have searched the existing issues and this is a new bug.

Current Behavior

When browsing through the demos on vue-flow's website, I noticed that, when dragging with the middle-mouse button, the scrolling-cursor still apeared in my browser, and continued it's default behavior of scrolling when enough space was available. Unfortunately, my screenshot tool does not include the cursor in screenshots, so posting one would be trivial.

Expected Behavior

I expect that when I am using the middle mouse button for navigating in the canvas, the cursor gets hidden and the scrolling behavior stops. Similar to other diagramming or node-composition tools on the internet like diagrams-js and diagrams.net

Steps To Reproduce

  1. Go to any demo,
  2. Press down the middle mouse button on the canvas
  3. Start dragging

Relevant log output

No response

Anything else?

Tested on Firefox 128.0 (64bit)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageAwaiting triage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions