How to overlap the backdrop over StatusBar?
See original GitHub issueI am now using a BottomSheetModal by wrapping it inside the BottomSheetModalProvider. The Backdrop is working fine but it doesn’t overlap the StatusBar. Can you please give me any ideas for that.
<BottomSheetModal
ref={bottomSheetRef}
enablePanDownToClose={true}
backdropComponent={renderBackdrop}
snapPoints={animatedSnapPoints}
handleHeight={animatedHandleHeight}
contentHeight={animatedContentHeight}>
<BottomSheetView
style={contentContainerStyle}
onLayout={handleContentLayout}>
<Text>Hello world</Text>
</BottomSheetView>
</BottomSheetModal>
The above code is how did I implement for bottom sheet. And the following one is the renderBackdrop function.
const renderBackdrop = useCallback(
props => (
<BottomSheetBackdrop
disappearsOnIndex={-1}
appearsOnIndex={0}
{...props}
/>
),
[],
);
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:9
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MrPhyaeSoneThwim: hello! 👋
This issue is being automatically closed because it does not follow the issue template.
also this but not yat solved