-
Notifications
You must be signed in to change notification settings - Fork 164
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
Is there a way to control the slider speed ? #148
Comments
This is currently not possible. The slider follows the user touch point, and is rendered just beneath it. To implement your solution we should break this assumption. It will probably require the user to to multiple gestures making the widget more complicated and less intuitive imho. Can you describe your use case? |
Thanks for responding |
Thanks for clarification. I believe that slidetoact is not the right library for you then. You should probably work on something custom that intercepts the touch events and computes the user speed. |
What kind of issue is this?
Details
I want to change to add some opposition:
Example:
on sliding right, I would like to add some kind of opposition - in contrast to the sliding direction
so it will be harder / easier to change the slider position
I would like to have some kind of number (set to 1 by default) so this factor value will multiply with the current movement
a number lesser than 1 will make it easier / harder to get the slider into it's desired position
a number greater than 1 will make it harder / easier to get the slider into it's desired position
Thanks
The text was updated successfully, but these errors were encountered: