Home › Forums › JavaScript › Horizontal drag scrolling › Reply To: Horizontal drag scrolling
August 14, 2015 at 6:16 am
#206536
Participant
horizontal momentum drag on iOS devices
This should be possible but not without having a scrollbar. You wouldn’t even need the script then :
So when you vertically (touch) scroll down the page on mobile devices it uses the native OS default?
Yes but only on body
. Any other scrollable element would need the CSS in the link. And overflow
can’t be hidden.
Taking it to the next level would be to add some inertia dragging. And making it ‘infinite’ instead of back and forth.
[Nonchalant whistling]