Ver código fonte

Altered Horizontal Scroll Zone for Smooth Scrolling

Savio Fernando 1 ano atrás
pai
commit
24c41b408b

+ 1 - 1
src/components/organisms/Sections/TrendingSection.js

@@ -110,7 +110,7 @@ const TrendingSection = props => {
               parallaxScrollingOffset: 1,
             }}
             panGestureHandlerProps={{
-              activeOffsetX: [-50, 1050],
+              activeOffsetX: [0, 200],
             }}
             pagingEnabled
             onSnapToItem={index => updateCurrentIndex(index)}