You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For stacked buttons in iOS alerts, the cancelling action should always appear last. The non-cancelling actions appear in the order they were passed. Here is an example of native iOS:
This is different from inline buttons where the cancelling action should always appear first.
To summarize, we need to make the following change:
Stacked buttons on iOS should always render the "cancel" button last. All other buttons should render the order in which they were presented.
liamdebeasi
changed the title
bug: The order of the alert buttons on iOS is reversed
bug: stacked cancel button should appear last in ios alert
Nov 29, 2022
Prerequisites
Ionic Framework Version
Current Behavior
When button names are long, the order of alert buttons in iOS is the reverse of that in Android.
Expected Behavior
The order of iOS should be the same as Android.
Steps to Reproduce
iOS
MD
Code Reproduction URL
No response
Ionic Info
Additional Information
plz look at
MD
https://github.com/ionic-team/ionic-framework/blob/main/core/src/components/alert/alert.md.vars.scss#L122
iOS
https://github.com/ionic-team/ionic-framework/blob/main/core/src/components/alert/alert.ios.vars.scss#L129
The differences in properties affect this sort order.
The text was updated successfully, but these errors were encountered: