react-native
react-native copied to clipboard
bugfix Android 15 Modal behavior change
Summary: When running on Android 15, content of the modal is cut-off at the bottom (content seems to overlap with bottom navigation bar and is cut-off)
- Android 15, even without building with targetSdk 35, seems to introduce behavior change so add code to handle such case
- also fix existing logic that seems like it just happened to work before but is no longer working with Android 15
- additional refactoring
- renamed: hostView -> dialogRootViewGroup
Changelog: [Android][Fixed] - Modal content cut-off at bottom on Android 15
Differential Revision: D61838294