New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: datetime picker in ion-modal crashes on selecting 12 AM #25714
Comments
Thanks for the issue. Bisect indicates this regressed with #25514. I will look into a fix for this. |
Here is a dev build if you are interested in testing the fix:
Note: You may need to use this dev build locally in an Ionic starter app. I noticed some caching issues that caused dev builds to not install correctly on StackBlitz. |
@liamdebeasi , the dev build worked without any issue. |
Thanks for the issue. This has been resolved via #25716, and a fix will be available in an upcoming release of Ionic Framework. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prerequisites
Ionic Framework Version
Current Behavior
On selecting 12 AM on time picker, current page freezes and crashes.
Expected Behavior
Date picker should close the modal.
Steps to Reproduce
Here is the code in component
To handle when value changes
Code Reproduction URL
https://stackblitz.com/edit/ionic6-angular13-w1sjhk?file=src/app/app.component.ts
Ionic Info
Ionic:
Ionic CLI : 6.18.1
Ionic Framework : @ionic/angular 6.2.0
@angular-devkit/build-angular : 12.2.16
@angular-devkit/schematics : 13.2.6
@angular/cli : 12.2.16
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android 10.1.2, browser 6.0.0, ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 20 other plugins)
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.11.4
ios-sim : 8.0.2
NodeJS : v14.19.0 (/usr/local/bin/node)
npm : 6.14.16
OS : macOS Monterey
Xcode : Xcode 13.4.1 Build version 13F100
Additional Information
No response
The text was updated successfully, but these errors were encountered: