react-native-reanimated-bottom-sheet
react-native-reanimated-bottom-sheet copied to clipboard
Exception thrown while executing UI block
I#M on a typescript project (don't know if this is the problem) but, when i try to close it on buttonPress with
sheet.current?.snapTo(1)
it thros this error

Hi, Same random issue! Do you have an idea to fix it? Thanks
Same issue, I am using Expo and plain JavaScript. Happens only on iOS device, android emulator works fine.
same here ! IOS simulator only. Not using expo . "react-native": "0.63.4" "reanimated-bottom-sheet": "^1.0.0-alpha.22",
I fixed this. I realized I did not fully understand snapPoints and sliderRef.current?.snapTo(). i was trying to snap to a point that didnt exist
@29er hi, what do you mean? which fix did you do?
Thanks, Anthony
i was snapping to a pixel, not an index. this caused the error.
OK thanks, I have the issue event I'm snapping to a pixel...