DisplayAlert & DisplayActionSheet dismiss behaviour is undocumented on Android #1924
Labels
doc-bug
Problem with the content; needs to be fixed [org]
dotnet-maui/tech
dotnet-mobile/prod
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Other (describe below)
Description
I got an issue on the maui repo: dotnet/maui#15671
This is more a docs issue as although the
DisplayAlert
API appears to have options, it is not really meant to do anything but "accept" and "cancel" - and tapping outside the dialog counts as a "cancel" operation.Similarly, the
DisplayActionSheet
API presents the user a choice of things, but the user can opt to not pick anything. This is a cancellation and will return null.On touch platforms, you can tap outside the dialog, but on Windows you can also press escape to see similar actions... I think?
Page URL
https://learn.microsoft.com/en-gb/dotnet/maui/user-interface/pop-ups?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/pop-ups.md
Document Version Independent Id
144c1b04-ddfc-e59b-773f-94124fbbce7a
Article author
@davidbritch
Metadata
Associated WorkItem - 187365
The text was updated successfully, but these errors were encountered: