Maui
Maui copied to clipboard
[BUG] Popup background not rendering on android 34
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
Area outside popup is not grayed out on android api 34.
Expected Behavior
Expected to work as in previous apis:
Steps To Reproduce
Create default maui project, add community toolkit and add the simplest possible popup. As described here: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/popup
Link to public reproduction project repository
https://github.com/aksik/MauiApp6
Environment
- .NET MAUI CommunityToolkit:7.1
- OS:android api 34
- .NET MAUI:8.0.3
Anything else?
No response
As a side note, if you turn on "Developer settings" => "Disable HW overlays" in the Android emulator, overlays will be displayed. https://issuetracker.google.com/issues/289117017
It might be a bug in the emulator.
[Disable HW overlays : ON]
[Disable HW overlays : OFF]
I'm sorry if I'm wrong.
This problem need fix.
I am also have this error on emulator
@workmail20 , There is a similar description below, but is this problem only with the Emulator? https://stackoverflow.com/questions/76641510/android-14-outside-of-alertdialog-doesnt-get-dim
@workmail20 , There is a similar description below, but is this problem only with the Emulator? https://stackoverflow.com/questions/76641510/android-14-outside-of-alertdialog-doesnt-get-dim
yes, I've tested and this is emulator only.
Has anyone tested it on a device?
Has anyone tested it on a device?
yes - it's ok.
If you test it on a device and there is no problem, but the problem only occurs in the emulator, it is most likely an issue with the emulator. At the moment, I'm sorry, but there is no solution other than the workaround I previously presented.
Thanks @cat0363 for the feedback. I also just ran a test on my Android simulator and it works OK. I am guessing Android updated the emulators and fixed the issue.
I'm closing this issue, since it is not related to the .NET MAUI Community Toolkit itself.