-
Notifications
You must be signed in to change notification settings - Fork 24.2k
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
Modal is getting truncated when rendering at bottom on Android 15 #45490
Comments
Any updates here? |
Why are you asking? Are you having the same issue or would you like to take this one to fix it? |
Yes I'm having the same issue |
@Abdelaty-magdy @ManiTWIndia I'll be looking into this issues and any general issues that may come up related to Android 15. Will post an update when I have identified the issue and have a proposed fix |
@alanleedev I did some investigation and I think the root cause is forcing the app to have edge-to-edge feature in Android 15. |
@Abdelaty-magdy Do you have more details around what you found? |
Description
When we use the React Native Modal and try to render the Modal content at the bottom, upto Android 14 new architecture it is working fine. But in Android 15 new architecture, the Modal rendered at the bottom is not entirely visible and we are only able to see a small section of the Modal rendered.
Please find the video attached below where the issue is happening on Android 15 new architecture
Android_15_With_New_Arch.mov
Please find the video attached below with expected behaviour on Android 14 new architecture
Android_14_With_New_Arch.mov
Note: We have tested this issue on Pixel 7 Pro and Pixel 8 Pro (Emulator)
Steps to reproduce
npm install
andnpx react-native run-android
to run the project.React Native Version
0.74.3
Affected Platforms
Runtime - Android
Areas
Other (please specify)
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/ManiTWIndia/ReactNativeModalIssue
Screenshots and Videos
Android_15_With_New_Arch.mov
The text was updated successfully, but these errors were encountered: