flickity icon indicating copy to clipboard operation
flickity copied to clipboard

Separate gallery scrolling from vertical page scrolling on touch devices

Open desandro opened this issue 11 years ago • 51 comments

Kiwistian

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.

desandro avatar Mar 02 '15 17:03 desandro

+1

ghost avatar Mar 02 '15 17:03 ghost

+1

This would be a really nice detail.

o-l-e avatar Mar 02 '15 17:03 o-l-e

+1

piehouserat avatar Mar 02 '15 22:03 piehouserat

+1

mark-youssef avatar Mar 02 '15 23:03 mark-youssef

+1

zitrusfrisch avatar Mar 02 '15 23:03 zitrusfrisch

sound good but must be option to turn this off

boynet avatar Mar 03 '15 14:03 boynet

+1

dowonkang avatar Mar 04 '15 05:03 dowonkang

+1

auginator avatar Mar 06 '15 21:03 auginator

+1 even more so if it can be toggled.

rbrtsmith avatar Mar 07 '15 17:03 rbrtsmith

+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/

dumplingsol avatar Mar 09 '15 11:03 dumplingsol

+1

remisture avatar Mar 09 '15 14:03 remisture

+1

ghost avatar Mar 09 '15 15:03 ghost

+1 this is the reason I currently have draggable set to false

mickdekkers avatar Mar 13 '15 14:03 mickdekkers

+1

thedgbrt avatar Mar 14 '15 17:03 thedgbrt

+1

ivancuric avatar Mar 17 '15 14:03 ivancuric

+1 had to switch for another slider for this issue, and lazyload, I will be watching, awesome slider.

rgfx avatar Mar 18 '15 19:03 rgfx

+1

mdmoreau avatar Mar 21 '15 03:03 mdmoreau

+1

mikestempien avatar Mar 22 '15 21:03 mikestempien

+1

rjmil avatar Mar 23 '15 17:03 rjmil

:+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.

flowgrow avatar Mar 25 '15 09:03 flowgrow