Is it possible to disable completely the interaction with the gallery
(an example is to programmatically block the user in one stage of the swipable gallery until he/she finishes a task)
Since Swiper extends ScrollView, you can use state to enable/disable scroll, by using the scrollEnabled={false} prop.
Can you enabe/disable this without rerendering this component?
My aim is to have the swiper enabled until last slide -> there i want to disable swiping, because user has to do something inside which has also a Scrollview in it. Using both mixes up the interaction…
thx
what about blocking the user swiping in a certain direction ? Like he can go right, but not left
Most helpful comment
Can you enabe/disable this without rerendering this component?
My aim is to have the swiper enabled until last slide -> there i want to disable swiping, because user has to do something inside which has also a Scrollview in it. Using both mixes up the interaction…
thx