alessiocancian / react-native-actionsheet

An elegant ActionSheet component for React Native.
MIT License
64 stars 24 forks source link

Visual defect with the Modal on Android Action Sheet #22

Open giantslogik opened 2 years ago

giantslogik commented 2 years ago

Bug

Screenshot 2022-11-16 at 2 23 36 AM

Environment info

Library Version
@alessiocancian/react-native-actionsheet 3.1.3
react-native 0.69.7

Steps To Reproduce

  1. Setup the App to use translucent StatusBar
  2. Use the ActionSheet on Android.

Describe what you expected to happen:

  1. Expect the modal to go to the top of the screen. Instead it doesn't cover the StatusBar.

Proposed fix: Allow setting the RN Modal statusBarTranslucent prop on ActionSheet . https://reactnative.dev/docs/modal#statusbartranslucent-android

giantslogik commented 2 years ago

Here's a PR to fix this issue: https://github.com/alessiocancian/react-native-actionsheet/pull/23