Separate gallery scrolling from vertical page scrolling on touch devices
is there a way to block the window vertical scroll, on mobile, while the user is swiping the slide?
I'm considering changing the touchVerticalScroll behavior so that user can either scroll horizontally in the gallery OR scroll vertically on the page, but not do both.
+1 or subscribe to this issue If you'd like to see this feature added.
+1
+1
This would be a really nice detail.
+1
+1
+1
sound good but must be option to turn this off
+1
+1
+1 even more so if it can be toggled.
+1 - this is a must for a project I am working on!
Anyone have any temporary hack/solution?
EDIT: I found out about another slider that have this figured out, if anyone else needs a temp solution while this features is being coded into flickity. http://wd.dizaina.net/en/scripts/peppermint/
+1
+1
+1 this is the reason I currently have draggable set to false
+1
+1
+1 had to switch for another slider for this issue, and lazyload, I will be watching, awesome slider.
+1
+1
+1
:+1: I don't know if I understand it correctly. By either vertically or horizontally, do you mean that this would be a main setting? As in: draggable: true disables scrolling, and scrolling: true disables dragging in general?
OR do you mean, that it depends on the gesture? As in: if I start to move my finger in a (more or less) vertical direction, flickity-dragging is disabled for the duration of the gesture. and if I start to move my finger in a (more or less) horizontal direction, page-scrolling is disabled for the duration of the gesture?
I would prefer the second way if that is in any way possible. The first could have some issues with galleries that are large enough to fit the whole screen.. If you set such a gallery to be draggable but not scrollable, one could flick-scroll down to the gallery so that it fills the whole screen, but one could never scroll away anymore.