mzubala / jquery-custom-scrollbar

189 stars 102 forks source link

Unwillingness to propogate events prevents nesting of other swipeable elements on mobile #66

Open masonn opened 7 years ago

masonn commented 7 years ago

When the scrollable element contains something else that should respond to swipes, such as a carousel that can swipe left/right in a scroll area that swipes up/down, the event.stopPropagation(); calls in startTouchScrolling and stopTouchScrolling prevent the events from passing on to the carousel.

Using onCustomScroll could be a work around, but it only reports 'direction' of up/down when using vertical scrolling.