react-native-reanimated-carousel icon indicating copy to clipboard operation
react-native-reanimated-carousel copied to clipboard

Scroll Index to 0 position is not working.

Open Saad9624 opened this issue 2 years ago • 0 comments

Steps to produce:

1)Try Scrolling to index : 0 from external view. Method ===> ScrollToIndex({index:0)}

Others index positions are scrolling fine. Its just related to 0 index.

Saad9624 avatar Jun 26 '22 10:06 Saad9624

Simulator Screen Recording - iPhone 13 Pro - 2022-08-12 at 11 36 15

It looks well, Can you try with this prop?

<SButton
   onPress={() => {
      ref.current?.scrollTo({ index: 0, animated: true });
   }}
>
   scroll to 0
</SButton>

dohooo avatar Aug 12 '22 03:08 dohooo

I'll reopen this issue If you have any other questions.

dohooo avatar Aug 18 '22 06:08 dohooo