DisplayActionSheet not opening the action dialog on Windows
See original GitHub issueDescription
Just attempting to use the Page.DisplayActionSheet API on a MAUI content page and it isn’t displaying the action sheet dialog at all.  The returned task never finishes, so it seems like it thinks it is rendered.  I can continue using the application as well, so navigation still seems fine too.
Steps to Reproduce
- Create a .NET MAUI App
 - Add a call to 
Page.DisplayActionSheet, for instance:await this.DisplayActionSheet("What type of condition?", "Cancel", null, "Source Condition", "Position Condition", "Attribute Condition", "Affected By Condition" ); - Observe the call never returns and the dialog is never displayed
 
Version with bug
Preview 10 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net6.0-windows10.0.19041
Did you find any workaround?
No known workaround at this time.
Relevant log output
No response
Issue Analytics
- State:
 - Created 2 years ago
 - Reactions:1
 - Comments:10 (4 by maintainers)
 
Top Results From Across the Web
DisplayActionSheet in .Net MAUI only working ...
Searching for a solution I only found this on a bug report (DisplayActionSheet not opening the action dialog on Windows #3726) that was ......
Read more >Display pop-ups - .NET MAUI
To display an action sheet, use the DisplayActionSheet method on any Page, passing the message and button labels as strings:.
Read more >Using the Page Dialog Service - PrismNew
Forms has two methods on the Page class for interacting with the user via a pop-up: DisplayAlert and DisplayActionSheet. Prism provides a single ......
Read more >Displaying Pop-Up in .NET MAUI
Let's start! Displaying alert message ... Message: It's the Body text of the alert dialog. ... string action = await DisplayActionSheet("Share message by....
Read more >Creating a Xamarin Forms App Part 9 : Working with Alerts ...
Xamarin Forms provides the DisplayAlert and DisplayActionSheet methods on the Page class to show dialog messages to the user.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Verified Repro with windows, Repro project 3726.zip
I’m running VS 17.2.0 Preview 5 and I’m still experiencing this problem. Android does it correctly, but Windows still runs through the statement without waiting. Is it something I’m doing wrong?