Skip to content

[BUG] Snackbar shows behind statusbar API Level <= 29, MAUI 10, targeting SDK 36 #3009

@DannyGravaAtBL

Description

@DannyGravaAtBL

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When displaying a snackbar in a Maui-10 app targeting SDK 36, the popup displays behind the statusbar.

See below screenshot, the red line is the snackbar message (part not covered by status bar).

Image

Expected Behavior

That the snackbar is visible, taking the safeedges into account. Like it does on more recent APILevels.

Steps To Reproduce

See the screenshot or ...

  1. Open the solution from the link
  2. Run it on an emulator with API 29 or lower.
  3. Click the button and observe closely

Link to public reproduction project repository

https://github.com/DannyGravaAtBL/Maui-Defects

Environment

- .NET MAUI CommunityToolkit: 13.0.0 (most recent)
- OS: Android 29 
- .NET MAUI:10, Maui.Controls 10.0.20(!)
- Target API Level 36 (safe edges)

Anything else?

See also recent MAUI fix related to SafeEdges and lower API levels: dotnet/maui#32498

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions