Skip to content

bug: Datetime label change should sync with transition #23560

Closed as not planned
Closed as not planned

Description

@willmartian

Bug Report

Ionic version:

[ ] 4.x
[ ] 5.x
[x] 6.x

Current behavior:
When changing months by clicking the next/previous buttons, the component waits for the month change animation to finish before updating the state of the month and year label.

In the attached video, observe how navigating with keyboard updates the month and year label instantly. Compare this to the second half of the video, where the month is changed by click.

datetimeMonthChange.mov

Expected behavior:
I would expect the month and year label to change with the month content, not after.

This is in line with other specs and implementations:

Steps to reproduce:

Open a ion-datetime component and navigate by click.

Ionic info:

Ionic:

Ionic CLI : 6.13.1

Utility:

cordova-res : 0.15.3
native-run : not installed

System:

NodeJS : v14.17.1
npm : 6.14.13
OS : macOS Big Sur

Firefox, Desktop

Activity

  1. added this to the 6.0.0 milestone on Jul 1, 2021
  2. added
    type: bug
    on Jul 1, 2021
  3. added
    v6
    on Jul 6, 2021
  4. changed the title [-]bug: Datetime month change animation is sluggish[/-] [+]bug: Datetime label change should sync with transition[/+] on Jul 13, 2021
  5. added
    package: core
    type: bug
    and removed
    type: bug
    on Jul 16, 2021
  6. removed this from the 6.0.0 milestone on Nov 23, 2021
  7. liamdebeasi commented on Apr 23, 2024

    @liamdebeasi
    Contributor

    Thanks for the report. The team does not have plans to change this behavior in Datetime at the moment, so I am going to close this.

  8. ionitron-bot commented on May 23, 2024

    @ionitron-bot

    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.

  9. locked and limited conversation to collaborators on May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: bugv6

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions