Hello,
i’ve faced a weird issue using iOS (both on simulator and real device, Android and Web work fine)
If I open the datetime popover and i drag it from left to right for changing the current displayed month, it starts going back and forth from the current month to the next month (ex. august and september)
Here you can see the video.
this is my ionic info output
Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.2.2
@angular-devkit/build-angular : 14.0.7
@angular-devkit/schematics : 14.1.2
@angular/cli : 14.1.2
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.0.1
@capacitor/android : 4.0.1
@capacitor/core : 4.0.1
@capacitor/ios : 4.0.1
Utility:
cordova-res : 0.15.4
native-run : 1.6.0
System:
NodeJS : v14.18.3 (/usr/local/bin/node)
npm : 8.13.1
OS : macOS Monterey
thanks
opened 08:03PM - 11 Aug 22 UTC
triage
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://githu… b.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
- [ ] v4.x
- [ ] v5.x
- [X] v6.x
- [ ] Nightly
### Current Behavior
Changing the selected month causes the component to loop between two months indefinitely, but only if a minimum date is set. This problem happens on iOS. I tested on iOS 14.6 (real device) and on iOS 15.0 (emulator).
### Expected Behavior
The user should be able to select a date after the set minimum without any problems.
### Steps to Reproduce
Add an ion-datetime and set a minimum date:
<ion-datetime min="2022-08-11"></ion-datetime>
On the app, click on one of the arrows or swipe to change the selected month. The bug happens when entering/leaving the month set in the min value (in the example above, when selecting or deselecting August).
### Code Reproduction URL
https://github.com/luqasmateus/ion-datetime-jumping-months
### Ionic Info
Ionic:
Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 6.2.2
@angular-devkit/build-angular : 13.3.9
@angular-devkit/schematics : 13.3.9
@angular/cli : 13.3.9
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 3 other plugins)
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run : 1.6.0
System:
ios-sim : 8.0.2
NodeJS : v16.15.0 (/usr/local/bin/node)
npm : 8.5.5
OS : macOS Monterey
Xcode : Xcode 13.0 Build version 13A233
### Additional Information
_No response_
seems like i’m not the only one having this problem.