Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Snackbar hidden behind Taskbar on Android Tablets #2029

Open
2 tasks done
Felicity-R opened this issue Jul 16, 2024 · 0 comments
Open
2 tasks done

[BUG] Snackbar hidden behind Taskbar on Android Tablets #2029

Felicity-R opened this issue Jul 16, 2024 · 0 comments
Labels
area/alerts Issue/Discussion/PR that has to do with Alerts bug Something isn't working unverified

Comments

@Felicity-R
Copy link

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 a modal window is displayed, and there's a visible taskbar but no navigation bar (i.e. the navigation mode is gesture instead of buttons), the snackbar appears behind the Taskbar's app icons:
image

If you do have the Navigation Bar buttons on, then it correctly accounts for the Navigation Bar height and looks fine:
image

It's just the TaskBar that isn't being accounted for.

Expected Behavior

Snackbar shouldn't be obscured.

Steps To Reproduce

  1. On an Android tablet that supports a Taskbar, configure your device settings so that a) the Taskbar is on and b) the Navigation Bar is set to use gestures instead of buttons.

Set up an app that displays a modal window, and then shows a snackbar while the modal is active. In the scenario where there's no modal it seems to work fine.
Sample code here: https://github.com/Felicity-R/SnackbarSample
2. Click the button on the first page to open the modal
3. Click the button in the modal to display the snackbar.

Link to public reproduction project repository

https://github.com/Felicity-R/SnackbarSample

Environment

- .NET MAUI CommunityToolkit: 9.0.2
- OS: Android Galaxy Tab S7, running Android 13
- .NET MAUI: 8.0.70

Anything else?

No response

@Felicity-R Felicity-R added bug Something isn't working unverified labels Jul 16, 2024
@vhugogarcia vhugogarcia added the area/alerts Issue/Discussion/PR that has to do with Alerts label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/alerts Issue/Discussion/PR that has to do with Alerts bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants