Skip to content

[Android] EdgeToEdge does not work for Modal page #24903

@tranb3r

Description

@tranb3r

Description

When EdgeToEdge is enabled on Android, a Modal page is not filling the whole screen, it is starting below the system status bar. The system status bar is visible and the bottom of the Modal page is invisible.

On my example:

  • the mainpage (pink background) is displayed edge-to-edge, while the modal page (blue background) is displayed below the system status bar.
  • the text in the modal page does not seem to be vertically centered, because the modal page is not occupying the whole screen

test

This happens both with the EdgeToEdge extension and when manually setting edge-to-edge (see code in MainActivity).

Steps to Reproduce

  1. Open the repro project and run on android
  2. Click the button to open a modal page
  3. Click on back button to close the modal page

Link to public reproduction project repository

https://github.com/tranb3r/Issues/tree/main/MauiAppEdgeToEdge

Version with bug

8.0.90 SR9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 34

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions