-
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: ion-datetime
cannot navigate to previous months after presenting and re-opening in a popover
#25257
Comments
Thanks for reporting this issue! I am able to reproduce the problem as well. It appears that after you select a date and close the popover, when re-opening the popover, the back navigation will get stuck/present navigating to the previous month. This behavior does not happen for navigating forward. If when you cannot return to the previous month, you instead navigate forward, you can now navigate back to the previous months freely. We will capture this as a bug and prioritize. |
ion-datetime
cannot navigate to previous months after presenting and re-opening in a popover
@sean-perkins I would say that this bug occurs also when navigating forward. And in order to get past the stuck month, you need to move backwards and then you can again move forwards past the stuck month. |
@sean-perkins , can you please give a status update on this bug? |
Can you try the following dev build and let me know if it resolves the issue?
You can add this to the end of a CDN url in your CodePen or install it using NPM. |
Thanks for the issue. This has been resolved via #25586, 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
The user opens the ion-datetime in a popover, selects a date and closes it.
When the use opens it again and tries to navigate the months via arrows, the rows change with the animation, but the month label does not change. Also, when the user clicks on the date, it causes the month to change
Expected Behavior
The user opens the ion-datetime in a popover, selects a date and closes it.
When the use opens it again and tries to navigate the months via arrows, the rows change with the animation and the month label changes accordingly. Also, when a date is selected, no change to month selection occurs.
Steps to Reproduce
Code reproduction
Code Reproduction URL
https://codepen.io/agular/pen/PoQNZQB
Ionic Info
Ionic used as a dependency.
Additional Information
Occurs with the latest version of Ionic, 6.1.4
The text was updated successfully, but these errors were encountered: