react-native-bottom-sheet: getRefNativeTag : RN 0.72.1 error new error
Bug
Issue on React Native 0.72.1 when using GetStream and use_framework static - throw new Error happening in getRefNativeTag
with Unexpected nativeTag ...
Environment info
| Library | Version |
|---|---|
| @gorhom/bottom-sheet | 4.4.5 |
| react-native | 0.72.1 |
| react-native-reanimated | 3.3.0 |
| react-native-gesture-handler | 2.12.0 |
| stream-chat-react-native | 5.15.2 |
Steps To Reproduce
- Load app after installing getstream react native library - stream-chat-react-native v5.15.2
- Exception is thrown in getRefNativeTag()
Describe what you expected to happen:
- No exception.
Reproducible sample code
Happy if you need more examples.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 19
This happens with new architecture
This issue was closed because it has been stalled for 5 days with no activity.
I found this partial solution: https://gorhom.github.io/react-native-bottom-sheet/troubleshooting/#adding-horizontal-flatlist-or-scrollview-is-not-working-properly-on-android
Using
ScrollViewinstead ofBottomSheetScrollViewI am experiencing the same issue with BottomSheetScrollView in the new architecture. @gorhom is there any update on this?
@gorhom/bottom-sheet | 4.6.3 react-native | 0.74.3 react-native-reanimated | 3.14.0 react-native-gesture-handler | 2.17.1
True. So I commented that code out and I am good. Throwing an exception when it works without it - maybe it should be a warning?
@gorhom+bottom-sheet+4.4.5.patchHad a similar issue with
BottomSheetFlatList. Replacing it byFlatListfixed it for me