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

slider bar should be tap-able #11

Open
Swatinem opened this issue Jul 2, 2014 · 1 comment · May be fixed by #12
Open

slider bar should be tap-able #11

Swatinem opened this issue Jul 2, 2014 · 1 comment · May be fixed by #12

Comments

@Swatinem
Copy link

Swatinem commented Jul 2, 2014

Touching the handle itself is a pain sometimes. It would be nice if the slider bar itself is a tap target.

@Swatinem Swatinem linked a pull request Jul 2, 2014 that will close this issue
@nocean
Copy link

nocean commented Feb 11, 2015

Would love to see this as well. I see @Swatinem has submitted a fix. Any chance that will be rolled into the distribution .js?

As an optional alternative, is there any way to update the slider position on a click/tap event? I can get as far as getting the X coordinates of the click (relative to the range element) but can't sort out how to adjust the handle's location to the nearest step location for that element. If there's a way to dynamically refresh the Powerange element without re-initializing from scratch, that could also work by simply getting the click event to set the input's value (and then refreshing the .range-slider element).

Any input is greatly appreciated. Love this script.

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 a pull request may close this issue.

2 participants