You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@peterkogo - Just to clarify. Doesn't shift+mouse-down+drag activate the selection box?
If shift+scroll is not meant for scrolling horizontally (like in figma, obsidian, excalidraw, native overflow-x) what is the key-bind for scrolling horizontally 😅? panOnScrollMode references moving both directions / horizontally. Is this only possible on a trackpad and not with a mouse scroll wheel?
Sorry, haven't used a mouse without a horizontal scroll wheel in a while. Totally forgot that shift+scroll is horizontal scrolling... Now I understand the problem. I guess we are doing preventDefault when pressing down the shift button for drawing selectionBox. If you set selectionKey to something other than "Shift" it works.
haven't used a mouse without a horizontal scroll wheel in a while
I read this and thought "Wow, I didn't even know that existed". So I googled mouse with horizontal scroll wheel, only to find my exact mouse was the first mouse that popped up. I never realize that thingy on the side was a horizontal scroll 🤣.
Thanks for the selectionKey workaround! I'll give that a shot!
Describe the Bug
Horizontal scroll via the mouse wheel when
panOnScroll=true
is broken in svelte flow after focusing / clicking the canvasYour Example Website or App
Reproduction: https://stackblitz.com/edit/hhoaya?file=src%2Fexample%2FApp.svelte
Steps to Reproduce the Bug or Issue
Steps to reproduce:
Expected behavior
It should always scroll horizontally when holding shift and scrolling 😅
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: