Closed crstnmac closed 1 year ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Did this work out? Does Expo Router V3 help?
You just need to wrap in <BottomSheetModalProvider>
as follow:
<BottomSheetModalProvider>
<BottomSheetModal
ref={bottomSheetModalRef}
index={0}
snapPoints={snapPoints}
>
<ScrollView contentContainerStyle={...}>
...
</ScrollView>
</BottomSheetModal>
</BottomSheetModalProvider>
Bug
We have a open source library which uses the bottomsheet ,when we use the component inside a expo-router project we get
even after
BottomSheetModalProvider
is wrapped in the_layout.tsx
file of the rootEnvironment info
Steps To Reproduce
Describe what you expected to happen:
1.Expected to open a sheet with options
Reproducible sample code
Reproducable code:-
https://github.com/crstnmac/remember-me/tree/select-bug