Closed
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
Safari on iPhone iOS 15.1
- In Safari on iOS, after the ion-datetime embedded in ion-popover is displayed, the year / month selected in the year / month picker will be reflected in the calendar with a one-month shift.
iphone.mp4
Google Chrome on Android 12 or Windows10
- However, it will be reflected correctly on Google Chrome on Android or Windows.
android.mp4
Expected Behavior
- I want you to improve the behavior of Safari on iOS.
Steps to Reproduce
- Run the code below to build.
<ion-label>{{ report_date | date:"yyyy年MM月dd日 (EEE)" }}</ion-label> <ion-popover [isOpen]="isPopover" arrow="false" style="--offset-y: -35%;"> <ng-template> <ion-datetime (ionChange)="onChangeDate($event)" showDefaultTitle="true" presentation="date"> <div slot="title">報告日</div> </ion-datetime> </ng-template> </ion-popover>
- I did the same operation as the video I uploaded to Current Behavior.
Code Reproduction URL
Ionic Info
Ionic:
Ionic CLI : 6.18.1 (C:\Users\Administrator\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 6.0.1
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3
Capacitor:
Capacitor CLI : 3.3.3
@capacitor/android : not installed
@capacitor/core : 3.3.3
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.4
native-run : 1.5.0
System:
NodeJS : v14.17.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.13
OS : Windows 10
Additional Information
No response