You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
Datetime currently has a confusing user experience where changing either the month or year through the wheel picker interface:
Results in the selected day applying in the working month:
In experiences with multiple selection (as shown) this is even more confusing, as it only applies the first selected day to the new working month/year.
Expected Behavior
Ionic should not be doing this behavior at all. Changing the month or year should have no impact on the selections within the calendar grid.
For example, if you change the month through the arrow navigation:
This behavior does not occur. This is expected.
Steps to Reproduce
Render a datetime and select a day
Change the month or year from the picker interface (clicking the button in the upper-left of the header)
Observe: The selected day is applied to the new month/year you are viewing.
you need to ensure that selected day remains constant when user changes month or year. This likely involves updating datetime picker component or its configuration to prevent the undesired behavior
I was able to reproduce this error in Chrome, Safari and Firefox for Windows OS and MacOS, but not in MacOS in a Macbook Pro M2, in any navigator. I disabled the month/year picker as a workaround following a comment in this thread: https://forum.ionicframework.com/t/ion-datetime-v6-disable-month-year-picker/223750
I leave a comment here to follow up on the discussion, hope a fix is coming soon!
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Datetime currently has a confusing user experience where changing either the month or year through the wheel picker interface:
Results in the selected day applying in the working month:
In experiences with multiple selection (as shown) this is even more confusing, as it only applies the first selected day to the new working month/year.
Expected Behavior
Ionic should not be doing this behavior at all. Changing the month or year should have no impact on the selections within the calendar grid.
For example, if you change the month through the arrow navigation:
This behavior does not occur. This is expected.
Steps to Reproduce
Code Reproduction URL
https://ionicframework.com/docs/api/datetime#multiple-date-selection
Ionic Info
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered: