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

horizontal only? #215

Open
Fil opened this issue Jul 13, 2020 · 2 comments
Open

horizontal only? #215

Fil opened this issue Jul 13, 2020 · 2 comments
Assignees

Comments

@Fil
Copy link
Member

Fil commented Jul 13, 2020

I don’t think it’s possible to have a drag or zoom behavior that works only horizontally and doesn’t “trap” the natural vertical scrolling gesture?

@Fil Fil self-assigned this Jul 13, 2020
@LifeIsStrange
Copy link

duplicate of #48 and #171 ?

@Fil
Copy link
Member Author

Fil commented Jul 24, 2020

Not the same issue, since the difficulty here is not about applying only t.x. It's more about reading horizontal scroll, but leaving the natural vertical scroll to the browser.

hammerjs does it this way:
https://github.com/hammerjs/hammer.js/blob/master/src/touchactionjs/touchaction-constructor.js#L109

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

No branches or pull requests

2 participants