SteffeyDev / react-native-popover-view

A well-tested, adaptable, lightweight <Popover> component for react-native
MIT License
611 stars 90 forks source link

hide statusbar #162

Open arifsuheyl opened 1 year ago

arifsuheyl commented 1 year ago

I can't hide the status bar when popover is visible on Android. While popover model is closed, it's gone but status bar appears with popover. This does not happen in IOS. How can I solve this?

phuoctai12t commented 1 year ago

@arifsuheyl use statusBarTranslucent={true} prop, the typescript declaration is missing it.

gpbaculio commented 1 year ago

@phuoctai12t possible to hide without height?

AdamGerthel commented 12 months ago

I have the same issue - both navigation (hidden through expo-navigation-bar) and statusbar appears when the popover opens.

I think the root cause is that popover uses the Modal component from React Native to make sure the popover is displayed on top of all other views.

There's a known issue about this in RN's issue queue: https://github.com/facebook/react-native/issues/37801