-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
DisplayActionSheet still not working on Windows #14098
Comments
From where are you trying to display the ActionSheet (constructor, etc)? |
I'm calling it from an event handler on a page. All the other "alerts" (i.e. DisplayAlert) work fine in the same position. The issue only occurs on Windows, it works fine in Android. |
Hi @R-J-Turner. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
I've tried to replicate this in a few scenarios outside of my original code, and can't seem to be able to. I then restructured my code and was able to get this working correctly. |
Duplicate of #14829 |
Description
When attempting to show an action sheet, it works fine on Android, but the code is skipped over completely on Windows.
This is the same issue as logged in #7025, which is marked as fixed, but the issue is still occurring on my version (7.0.59).
Steps to Reproduce
Create a new MAUI App.
Add the following code to the main page:
Shell.Current.DisplayActionSheet("Return Reason", "Cancel", null, "OK");
Build the app and run it in Windows, the actionsheet will not be displayed.
Repeat for Android, the action sheet will display as intended.
N.B. Other alerts (such as DisplayAlert) work fine on both platforms.
Link to public reproduction project repository
N/A
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: