-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-dialogalertDisplayAlert, dialogDisplayAlert, dialogexternalplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
DisplayActionSheet with more then 6 commands is displayed as a horizontal strip:
If its 6 or less commands, its displayed correctly vertical:
On iOS, Android and Windows its always correctly vertical. Only on MacCatalyst its this odd behaviour. Also only on MacCatalyst the app-icon is also displayed in the DisplayActionSheet, which I don't want.
So, is there a way to have MacCatalyst display the DisplayActionSheet always vertically and without app-icon?
Using MAUI 9.0.40
Steps to Reproduce
- Create a new Maui-App with a Button
- in the clicked-handler open a DisplayActionSheet:
var comands = new string[]{"command1","command2","command3",
"command4","command5","command6","command7" };
var action = await currentpage.DisplayActionSheet("Action", "Cancel", null, commands}
If its 7 or more commands, its displayed horizontal. Up to 6 commands its displayed correctly vertically.
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
macOS 14.7.1
Did you find any workaround?
No.
Relevant log output
Metadata
Metadata
Assignees
Labels
area-controls-dialogalertDisplayAlert, dialogDisplayAlert, dialogexternalplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working