Modal backdrop above status bar #1075
Unanswered
ed-cscosta
asked this question in
Q&A
Replies: 1 comment
-
If someone is struggling with the same situation the best help i can get is to set the status bar to transparent and allow the translucent option. Like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I make the Backdrop appears above the status bar? If I don't set the status bar color, everything works fine. But if I set the pink color the Backdrop doesn't overlay the status bar. Should I wrap the content with react native modal?
Modal config:
<BottomSheetModal ref={bottomSheetRef} snapPoints={snapPoints} enablePanDownToClose={enablePanDownToClose} enableDismissOnClose={enableDismissOnClose} onDismiss={handleDismiss} onChange={handleChange} handleComponent={renderHeaderHandle} backdropComponent={renderBackdrop}>
Backdrop config:
<BottomSheetBackdrop {...props} enableTouchThrough={false} pressBehavior="close" disappearsOnIndex={-1} />
Beta Was this translation helpful? Give feedback.
All reactions