-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Open
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report
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
v7.x
Current Behavior
There seems to have issues with the ion-datetime component, when the time modal is focused and that we try to interact with it via arrow keys.
- The hours does not seem to handle the current hour (that is, if it's 10 and then you press Up, it goes to 1)
- When you continue pressing, it goes up to 19 and then goes back to 2.
- Once it's back to 2, the minutes get incremented, but only 10 by 10
Note : In my timezone, the time is 0-23 based
Expected Behavior
- Pressing an arrow should make it move 1 hour+-, starting from the current input hour
- I guess the input should goes up to 23, then goes to the minutes (but it needs a focus state ?)
- When the minutes wheel is focused, it should respect the step entered (and not be only 10 by 10 at the beginning)
Steps to Reproduce
I tried everything on the "basic usage" example of the ion-datetime component : https://ionicframework.com/docs/api/datetime#basic-usage
Code Reproduction URL
https://ionicframework.com/docs/api/datetime#basic-usage
Ionic Info
Not applicable (https://ionicframework.com/docs/api/datetime#basic-usage)
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report