Skip to content

touchEnabled={false} preventing container scrolling via touch on mobile #440

Discussion options

You must be logged in to vote

I found the culprit!

It is the following css property set on the slider!
touch-action: pan y pinch zoom

Would it be more appropriate for me to override this on my end, or add some sort of conditional override in the library as a PR?

I updated the codesandbox link above to include a fix on the consumer-side. Happy to think about a PR for this if the maintainers feel like it'd be appropriate.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Conor-Hinchee
Comment options

@thepuzzlemaster
Comment options

Answer selected by Conor-Hinchee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants