I'm using scrollview with react native web and I am trying to get the scrollview to snap into place however it just scroll like normal. I have tried using these props but it isn't working.
horizontal= {true}
decelerationRate={0}
snapToInterval={200} //your element width
snapToAlignment={"center"}
Unfortunately this does not seem to be currently implemented :(
Source: https://github.com/necolas/react-native-web/issues/1250
There is always pagingEnabled={true} but this is not exatcly the same thing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With