Closed lfpraca closed 6 months ago
@RichardLindhout
Maybe try disableStatusBarPadding
. This doesn't seem to be the case on the example in the document. https://snack.expo.dev/@fitzwabs/react-native-paper-dates-single-picker
I will release new version soon, are you sure you have configured the react-native-safe-area-context provider in your app?
Should be fixed now. Also use statusBarTranslucent through your android app
Current behaviour
When attempting to implement a single date picker, the top of the modal would always appear behind the notification bar on android.
Additionally, the snack itself is not working on adroid, so I was unable to test if that works or not, but I tried to replicate it closely
Expected behaviour
Stay within the safe area, as it does on iOS using the documentation example
How to reproduce?
https://github.com/lfpraca/react-native-dates-test
Preview
What have you tried so far?
Moving the SafeAreaProvider to multiple places, removing it altogether; moving and removing PaperProvider; using SafeAreaView; using insets; using portal
Your Environment