Open
Description
Description
When the Prism.Plugins.Popups.Maui setting the prism:DialogLayout.CloseOnBackgroundTapped="True" does not result in the dialog closing on a background tap.
In Android emulators I am not seeing any popup appear.
What I have observed is that if you remove the .ConfigureMopupDialogs() from the prism setup that the dialog will be dismissed. However, that causes the background to grey out behind the dialog so it is not the desired behavior
Steps to Reproduce
- Clone sample popups repository. Does require adding a valid NuGet.Config to /src folder for Prism feed after cloning
- Run app on iOS or macCatalyst
- Click the Click Me button to open dialog
- Tapping on background will not dismiss dialog
- Run the app on an Android emulator
- Click the Click Me button
- No dialog appears
- Remove .ConfigureMopupDialogs() from the prism startup in MauiProgram.cs
- Repeat above steps
Platform with bug
.NET MAUI
Affected platforms
iOS, Android, I was not able test on other platforms, macOS
Did you find any workaround?
Workaround is to add a dismiss X button on dialogs so they can be closed