Skip to content

Add possibility to listen to slide moves outside of slider bounds #75

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ipapps
Copy link

@ipapps ipapps commented Feb 1, 2022

It can be difficult to let the finger exactly on the circle of the slider. For a better user experience, it can be useful to let the sliding and animation continue as long as the user touches down the slider, even if its finger is outside the bounds of the slider.
This pull request adds a boolean (which defaults to the previous behaviour) to allow the developer to add this feature.

@tony-ditchlabs
Copy link

Didn't see this, just wrote something similar and submitted a PR.
Instead of using a bool to just turn it on/off entirely like you did, I edited the 25.0 minimum width to be an argument so, you can set the fault tolerance to any value.

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.

2 participants