maui
maui copied to clipboard
[Android] Modal Pages do not fill screen when in Fullscreen
Description
On Android 12.0, modal pages do not cover the entire screen when going into fullscreen and hiding system and navigation bars. It appears that modal pages are not pushed up all the way, because the content is not centered correctly, either. This occurs with real devices (in my case Samsung S10 + S22), but not in emulators.
Steps to Reproduce
- Create a new MAUI App project
- Add a modal page
- Enable full screen mode in Android
- Debug App on Android
- Open Modal page
Expected behavior: The modal page fills the entire screen when fullscreen is enabled Actual behavior: The modal page is not pushed up all the way and the underlying page is still visible
Link to public reproduction project repository
https://github.com/ewerspej/dotnet-maui-bug-repro-modal-fullscreen
Version with bug
7.0.100-rc.1.22431.12
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12.0
Did you find any workaround?
No
Relevant log output
No response