Closed austinpray closed 10 years ago
@austinpray thanks I know! I've already planned to change this in the next release :v:
Great!! When is that due for?
@austinpray I made some optimizations see pr #36. Would be great if you can test the optimizations on your fancy device :wink:
Neat! I will try it out and see if the issue is resolved. Thank you!
Note: it isn't my device it was failing on, I wouldn't be caught dead with one of those monstrosities. Who wants to get their grubby fingers all over their laptop screen??
FYI this fixes the issue. Both the mouse and touch functionality work side-by-side.
As expected. Thanks dude!
siqqq
Hey there,
So I discovered a weird bug related to those hybrid touchscreen laptops floating around there on the market. Issue is verified to exist even on: http://andreruffert.github.io/rangeslider.js/
If you are using a laptop with a touchscreen, you cannot modify the slider with anything other than touch. You can touch the dial and move it like normal, but cannot use the mouse to modify the dial.
This looks like the culprit in the source:
Can the plugin work with both touchstart AND mouse events?