DisplayActionSheet hangs app on cancel on MacCatalyst #6623
Labels
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
platform/macOS 🍏
macOS / Mac Catalyst
t/bug
Something isn't working
Description
When using Page.DisplayActionSheet on MacCatalyst, if the user cancels out of the popup the entire app will hang.
Additionally, the popup appears halfway down the right side of the window, pointing to nothing. I'd expect this popup to point to/appear near the UI element that triggered.
This works normally on iOS. I'm not targeting Android. On Windows, there is no popup displayed at all, and the awaited call returns null immediately.
Steps to Reproduce
On a ContentPage in a MAUI app, create a button. Add a handler for the Clicked event. Declare that handler as such:
Run the page on MacCatalyst. Note the location of the popup. Also note that selecting options works as well. Now open the popup and click anywhere on the page to light-dismiss the popup. The app should hang.
Version with bug
Release Candidate 2 (current)
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
MacCatalyst 14.2
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: