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
To test touch/mobile interaction on visuals using my desktop, I need to use desktop browser devtools (fine) but I also need to set touch-action: none on the svg container. Should this be a default?
I'm a bit confused by a lot of the touch vs mouse handling in browsers to be honest so I would be happy to defer to your judgement as to what is right here.
I too am very confused. Amit Patel writes some excellent content about
these edgy bits in this post:
https://www.redblobgames.com/making-of/draggable/#fix-scroll
Perhaps I'll get to test a change and a simple PR - when I get a bit more
comfortable.
To test touch/mobile interaction on visuals using my desktop, I need to use desktop browser devtools (fine) but I also need to set
touch-action: none
on the svg container. Should this be a default?Without the setting, I cannot pan in examples like the scatterplot pan & zoom.
Not sure if this is too simplified as I haven't considered a big range of scenarios.
https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action
The text was updated successfully, but these errors were encountered: