Skip to content

Conversation

@gkueny
Copy link
Contributor

@gkueny gkueny commented Jun 7, 2023

Motivation

In react-native, if we run test on component where we use BottomSheetScrollView / BottomSheetSectionList / BottomSheetFlatList BottomSheetVirtualizedList with @gorhom/bottom-sheet/mock mock, It doesn't work. The content of these components is not rendered.

That's because these components are replaced by BottomSheetComponent which does not implement renderItem props.

Solution

Using react-native components is equivalent to solving the above-mentioned problem.

@gorhom gorhom added v4 Written in Reanimated v2 v5 labels Jun 23, 2023
@gorhom
Copy link
Owner

gorhom commented Jun 23, 2023

thanks for submitting this CR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 Written in Reanimated v2 v5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants