Open
Description
When adding a carousel and putting overscrollEnabled on false, somehow when scrolling up (over the newest item) it still goes down and bounces back up even though i want it to be solid in its place
Describe the bug
It is essentialls the same issue from here
with the difference that it is
- scroll only
- vertical
To Reproduce
Steps to reproduce the behavior:
- Setup a Carousel like this:
<Carousel
key='coruse'
mode='parallax'
overscrollEnabled={false}
loop={false}
vertical
data={data}
scrollAnimationDuration={0}
renderItem={({ item, index }) => (
.... item here ....
)}
pagingEnabled={true}
style={styles.carousel}
/>
- Scroll up and see if it bounces
Expected behavior
When scrolling up (above the newest item) the item just should stay in its place as if you were not scrolling
Screenshots
When scrolling up, the carousel should stay exactly like this
and not like this (bounced to the bottom)
Versions (please complete the following information):
- react: 18.2.0
- react-native: 0.74.3
- react-native-reanimated: ^3.16.7
- react-native-reanimated-carousel: ^4.0.2
- react-native-gesture-handler: ^2.21.2
Smartphone (please complete the following information):
- OS: Android
- Version 16