asvd/dragscroll

Not running on mobile

Vahn84 opened this issue · 6 comments

Don't know if it's supposed to work even on mobile

Anyway...this not works with mobile devices

asvd commented

It's supposed actually. What do you mean it does not work? What happens instead?

hi! sorry for the late response!

it just doesn't scroll. I don't know if it's sort of a conflict with fullPage.js library. But i've tried another drag/scroll library ("kinetic") that seems to work in combination with fullPage....

Not working on iOS 9 safari.

not working if you put overflow: hidden to hide the scrollbar

asvd commented

@dongepulango hidden overflow disables scrolling capabilities of the element, therefore it cannot be scrolled, even programmatically by dragscroll, so this is an issue of the browsers' API, not of the dragscroll

There are several (tricky) approaches on how to work around. For instance, you can keep the scrollbar visible, but push it outside of the outer container having overflow: hidden (this is how I did it for http://asvd.github.io/intence/)

@asvd cool, thanks for the link.