Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asking for Help: why the half-bottom-modal not reach the bottom in Android #744

Open
usedlife opened this issue Jul 21, 2023 · 1 comment

Comments

@usedlife
Copy link

The page with the pop-up box is not open:
image

now its open:
image

I set transparent navigationBarColor:

<resources>
   <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
      ....
     <item name="android:navigationBarColor">@android:color/transparent</item>
  </style>
  ...
</resources>

This is not a bug. It's because when I tested ReactNative's native Modal, the bottom area also left out the height of the navigationBar. I'm just seeking help to see if there is any solution to keep the Modal at the bottom while remaining transparent.

Versions:
"react-native": "0.71.3"
"react-native-modal": "^13.0.1"

Simulator information:
Nexus 6 API 33 Android 13.0

@anmol242
Copy link

Generally I use this lib for these kind of use cases: https://github.com/gorhom/react-native-bottom-sheet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants