Skip to content

[BUG] Snackbar position on Modal Page is incorrect #2994

@simon10says

Description

@simon10says

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 showing snackbar in a modal page, it is positioned higher. Referring to the 2 screenshots below, take note of the snackbar position in respect to the navigation bar.

MainPage (from MainPage) ModalPage (from Modal Page)

I've tried this.DisplaySnackbar() and Snackbar.Make().Show(). Both yield the same result.

Expected Behavior

The snackbar position in the modal page should be the same as the main page.

Steps To Reproduce

  1. Open and run from the reproduction project repository
  2. Click on the [Show Snackbar] button and take note of the snackbar position
  3. Click on [PushModal] button to open up a modal page
  4. Click on the [Show Snackbar] button and take note of the snackbar position in the modal page

Link to public reproduction project repository

https://github.com/simon10says/SnackbarPosition

Environment

- .NET MAUI CommunityToolkit: 13.0.0
- OS: Android 15
- .NET MAUI: 10.0.11

Anything else?

This is my 1st time using this, so I'm not sure if it works previously.

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