ionic-team / ionic-team/ionic-framework
bug: stacked cancel button should appear last in ios alert
- Vorherrschende Sprache
- TypeScript
- Sterne
- 52.7k
- Forks
- 13.3k
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 51
Beschreibung
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
- [X] v4.x
- [X] v5.x
- [X] v6.x
- [ ] Nightly
### 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
1. I see an alert for https://ionicframework.com/docs/ja/api/alert#buttons
2. Edit the html and name the 'Cancel' button 'CancelCancel (Buttons are aligned vertically)
3. Compare iOS and MD.
## 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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.