Open ramiz4 opened 10 years ago
not yet
This burned me too.. Spent the day adding it to a eCommerce site that has lots of navigation items. Finally finished and then bring out the phone.. "Oh crap! it dosnt scroll!" Day wasted.
Okay, for any one else that encounters this. To disable the touch events which is whats stopping the scroll events from propagating.
Replace
if( mobileCheck() ) {
clickEventType = 'touchend';
dragEventType = 'touchmove';
}
else {
clickEventType = 'click';
dragEventType = 'mousedown';
}
For
clickEventType = 'click';
dragEventType = 'mousedown';
You wont get your fancy stuff but at least your users can scroll.
@pixelchild you are a life saver sir :)
@pixelchild thank you it works :) yes the fancy stuff like collapse menu with touch gesture dont works any more...
I really would like to apply above (clickEventType & dragEventType) fix for 'Vertical scroll' issue. Can you explain where above code need to go?
@pixelchild: Thank you so much for your suggestion, this fixed our problem too.
As neither the eventType variables nor the function mobileCheck are public accessible one has to patch the plugin itself, which is not good practice in my opinion.
Kind regards Andreas
@pixelchild I know this is an old post...not sure if you're still around. But I replaced what you had mentioned, but it still won't scroll on mobile...I may not be doing something correct?
@adoerler Would you mind sharing what you did to get the mobile vertical scroll to work?
hey, is it possible to scroll the menu (vertical) on mobile devices with touch gesture???