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

Why is 'touch-events: pan' not a value? #420

Open
fantasai opened this issue Oct 29, 2021 · 2 comments
Open

Why is 'touch-events: pan' not a value? #420

fantasai opened this issue Oct 29, 2021 · 2 comments
Labels

Comments

@fantasai
Copy link

Seems like 'touch-events: pan-x pan-y' is possible, why isn't there a 'touch-events: pan' keyword? Is this combination discouraged for some reason?

@mustaqahmed
Copy link
Member

If my guess is correct that you meant touch-action here (instead of touch-events), we have touch-action:manipulation to cover panning in all directions.

(In Chrome, touch-action:manipulation covers a bit more than that but it is beyond the scope of this spec!)

@patrickhlauke
Copy link
Member

however, touch-action:manipulation also allows pinch-to-zoom, while touch-action:pan-x pan-y (or a potential touch-action:pan) does only allow the browser to do pure panning/scrolling.

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

No branches or pull requests

3 participants