facilitate touch interaction testing
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
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.
On Fri, Nov 15, 2024 at 1:14 AM Dominik Moritz @.***> wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/vega/editor/issues/1450#issuecomment-2477751942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWHPQVJHTOUFUGUBUM5MT2AVDFXAVCNFSM6AAAAABRZILIKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXG42TCOJUGI . You are receiving this because you authored the thread.Message ID: @.***>