-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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: v6 datetime, selecting time gives NaN and jumps too far when using arrow keys in firefox #23545
Comments
Thanks for the issue. Can you provide some additional information about what time you are selecting? (I.e. are you selecting in between values and letting it snap to the nearest value?) |
Bildschirmaufnahme.2021-07-01.um.16.20.54.movThanks @liamdebeasi. I am working together with @MaNic1980 on this issue. We just found out that Firefox has another issue with the time. We are clicking on the time and pressing the down key on the keyboard and the time skips 3 hour forward instead of just one like Chrome does. |
Thanks! I can reproduce the |
Quick update: The arrow key bug appears to be a Firefox bug. I reported it to the team here: https://bugzilla.mozilla.org/show_bug.cgi?id=1719330. I can also reproduce this in Safari, but it appears to be fixed in Safari Technology Preview. |
Thanks for the issue. The time selection I am going to keep an eye on https://bugzilla.mozilla.org/show_bug.cgi?id=1719330 and will open another issue if looks like this won't be fixed in time for when v6 ships. |
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. |
Bug Report
Ionic version:
[ ] 4.x
[ ] 5.x
[x ] 6.x
Current behavior:
We have built a sample page with the new ion-datetime and found an issue with Firefox.
After selecting the date and changing the time the model contains an invalid date string like:
2021-07-02TaN:11:00-aN:aN
Expected behavior:
The date string should be valid.
Steps to reproduce:
Related code:
<ion-datetime [(ngModel)]="dateTest" ></ion-datetime>
Ionic info:
The text was updated successfully, but these errors were encountered: