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

Allow track to be pressed at a specific position to set the value of the slider #136

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fiznool
Copy link

@fiznool fiznool commented Aug 3, 2018

Picking up where #92 left off, this PR adds support for the slider being 'perusable', i.e. if the user taps on the slider track, the slider is set to the value at that position on the track.

This is opt-in behaviour via the trackPressable prop, which is set to false by default.

Thanks to @ajaswal for the original PR!

@schumannd
Copy link

Will the user be able to tap, hold and then continue to slide from there with this PR?

@Ammarlio
Copy link

Will the user be able to tap, hold and then continue to slide from there with this PR?

@schumannd did you get an answer? or did you solve it?

@schumannd
Copy link

@Ammarlio No and we ended up building it ourselves.

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

Successfully merging this pull request may close these issues.

None yet

3 participants