Skip to content

ion-datetime-button #4510

@Sagar-Sidana

Description

@Sagar-Sidana

Issue Description:
I found an issue while working with ion-datetime-button.

Steps to Reproduce:

  1. Open the ion-datetime-button.
  2. Navigate to the next month.
  3. Close the date picker without selecting a date.
  4. Open the date picker again and select any date.

Actual Behavior:
After selecting a date, the calendar continuously switches between months automatically. Additionally, when trying to manually navigate back to the previous month, the component does not allow it.

Additional Notes:
This issue appears to occur specifically after navigating to another month and closing the picker before making a selection.

Expected Behavior

Expected Behavior:
The calendar should remain stable after reopening and selecting a date, and manual month navigation should work normally.

Steps to Reproduce

Steps to Reproduce:

  1. Open the ion-datetime-button.
  2. Navigate to the next month.
  3. Close the date picker without selecting a date.
  4. Open the date picker again and select any date.

Screenshots

Image Image Image Image

Operating System

Windows and Macbook

Browser

Chrome

Version

No response

Additional Information

This issue is arising only in Ionic 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions