Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facilitate touch interaction testing #1450

Open
declann opened this issue Nov 14, 2024 · 2 comments
Open

facilitate touch interaction testing #1450

declann opened this issue Nov 14, 2024 · 2 comments

Comments

@declann
Copy link

declann commented Nov 14, 2024

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

@domoritz
Copy link
Member

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.

@declann
Copy link
Author

declann commented Nov 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants