Skip to content

TimePicker can change the selected time after being disabled while open #985

Closed

Description

@Xapollon430

Problem

  1. Render an enabled TimePicker with 10:00 selected and focus its input to open the hour list.
  2. Set disabled to true without moving focus away. The list is still visible.
  3. Click hour 11. The displayed time changes to 11:00 and onChange fires.

The disabled TimePicker should keep 10:00 until re-enabled. Reproduced on current master at 55b8929 in Chrome with the library styles.

Browser recording

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions