Skip to content

ion-datetime jump to previous month after select time #2416

@thomasyu929

Description

@thomasyu929

Describe the bug
in ion-datetime if you select time when you are in current month. (For example today is Jun. 23th)
then close the time picker. the month will auto jump to May. but the selected date not change just UI glitch.

To reproduce
Steps to reproduce the behavior:

  1. Go to Date Time component.
  2. Select time in current month. (only happens on today's month)
  3. Close time picker
  4. You will see jump to last month.

Expected behavior
Please Fix this. not switch month.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image
image

Browser and OS (please complete the following information)

  • OS: [Mac BigSur]
  • Browser: [Chrome]
  • Version: [ionic/angular6.1.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