Open marcin-koziol opened 3 years ago
Why didn't you add a pull request for this issue? I think it's a fine solution!
Could you do it please?
Yea it works. This fix is good. It's fixes the bug, but if I click outside the thumb, on the rail, then i can't drag. Still good fix.
When using PS on "desktop touchscreen" device, the touchmove event should be (probably) unbind in drag-thumb.js on touchend. Currently, if you start using thumb on touchscreen, the scroll beehaviour will work like dragging the thumb despite "dragging" the content div, not the thumb.
Here's a sample that works for me, but some tests are needed to check how many other things it will break ;)