CommunityToolkit / CommunityToolkit/Maui

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

Open
#3,009 4 comments 2 reactions 0 assignees View on GitHub
bug unverified
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

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

- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

### 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

```markdown
- .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: https://github.com/dotnet/maui/issues/32498

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.