asvd / dragscroll

micro library for drag-n-drop scrolling style
http://asvd.github.io/dragscroll/
MIT License
1.1k stars 166 forks source link

Dragscroll on mobile not working #30

Open kpagcha opened 7 years ago

kpagcha commented 7 years ago

I am using the dragscroll plugin to be able to explore a bracket that is too wide to fit in its container. I am using the jquery-bracket plugin to display the bracket.

Here is a working example.

The dragscroll works on desktop perfectly, but when it comes to mobile it just does not scroll at all, try for yourselves. I have been trying to figure out why for way too long, so hopefully somebody around here can help.

mebikramkc commented 7 years ago

@kpagcha You can use media queries and make the width and height smaller like: @media (width: 600px) { .container{ width:200px; height:300px; } } You can play with the height width as requirement. It is working for me. I hope it works for you too.

Pranz commented 7 years ago

Fixed this: https://github.com/asvd/dragscroll/pull/32

ma-pe commented 7 years ago

@Pranz Can confirm - this is working in my project.