dragscroll icon indicating copy to clipboard operation
dragscroll copied to clipboard

support mobile

Open Pranz opened this issue 6 years ago • 4 comments

Adds support for mobile.

Pranz avatar Sep 11 '17 16:09 Pranz

Thumbs up from my side! :)

ma-pe avatar Nov 10 '17 13:11 ma-pe

Simple Touches doesn't work anymore. I had to comment out

e.preventDefault();

in

mousedown.split(' ').forEach(function(ev) { ... }

ma-pe avatar Nov 10 '17 14:11 ma-pe

@ma-pe I think that might mess up stuff depending on the browser. I found if you want dragscroll + interactive elements within there's no silver bullet and you're gonna need a bit of custom code, so I think I'll leave my branch as i for now.

Thanks for the report!

Pranz avatar Nov 13 '17 09:11 Pranz

i know this is super stale, but just in case anyone else finds this:

I realized you dont actually need dragscroll on mobile, it's just how mobile works by default. all you gotta do is overflow: scroll

using this version gave me a weird bug where things scroll twice as fast as they should.

skeddles avatar Feb 01 '23 00:02 skeddles