bozha-step

Results 4 comments of bozha-step

Similar request here: https://github.com/dohooo/react-native-reanimated-carousel/issues/320.

> > Slightly cleaner version of the above fix > > ``` > > onProgressChange={(_offsetProgress: number, absoluteProgress: number) => { > > const currentIndex = carouselRef.current?.getCurrentIndex() || 0; > >...

I found setState will fire multiple times as it's not sync. Solution is to add a local ref to check when index is updated, this is useful if we have...

Same question here, could we provide sth like ScrollView [bounces](https://reactnative.dev/docs/scrollview#bounces-ios)? Which won't let view bounces when reaches the end of content.