You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm rendering a FlatList of items where each has a button that triggers the bottom sheet to come up to display. After presenting itself, the backDropComponent becomes active.
However, when I scroll through the items in the FlatList, I get an error indicating null is not an object (evaluating "containerRef.current.setNativeProps).
This is the error below. After tracing it, it seems to be coming from the BottomSheetBackDrop.tsx file.
For some context, I just upgraded from bare workflow Expo project from SDK v40 to v41. Interestingly, I wasn't having this issue when using SDK v40. After upgrading to v41, I downgraded the react-native-reanimated and react-native gesture-handler to versions 1.13.2 and 1.8.0, respectively.
Environment info
Library
Version
@gorhom/bottom-sheet
^2
react-native
0.64.2
react-native-reanimated
^1.13.2
react-native-gesture-handler
1.8.0
Steps To Reproduce
Below is how I had completed the installation instructions for the @gorhom/react-native-bottom-sheet library.
Bug
I'm rendering a FlatList of items where each has a button that triggers the bottom sheet to come up to display. After presenting itself, the
backDropComponent
becomes active.However, when I scroll through the items in the FlatList, I get an error indicating
null is not an object (evaluating "containerRef.current.setNativeProps)
.This is the error below. After tracing it, it seems to be coming from the
BottomSheetBackDrop.tsx
file.For some context, I just upgraded from bare workflow Expo project from SDK v40 to v41. Interestingly, I wasn't having this issue when using SDK v40. After upgrading to v41, I downgraded the
react-native-reanimated
andreact-native gesture-handler
to versions 1.13.2 and 1.8.0, respectively.Environment info
Steps To Reproduce
Below is how I had completed the installation instructions for the
@gorhom/react-native-bottom-sheet
library.npm install --save @gorhom/bottom-sheet@^2
npm install --save react-native-reanimated@^1 react-native-gesture-handler
cd ios && pod install
Describe what you expected to happen:
Reproducible sample code
Below is the code for how I'm implementing the bottom sheet:
The text was updated successfully, but these errors were encountered: