Skip to content

bug(slider): thumb out of sync after drag cancelled #22719

Closed
@lucasmaj

Description

@lucasmaj

Reproduction

Steps to reproduce:

  1. Start dragging the thumb with mouse.
  2. Just before releasing mouse button press ESC key.
  3. Thumb remains on new position while model value still has value before drag started.

Expected Behavior

When ESC is pressed, indicating cancelling the drag action, the thumb should come back to position before drag started, thus thumb position and value remains in sync.

Actual Behavior

Thumb position is not in sync with model value.

Environment

  • Latest demo pages,
  • Chrome Windows

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/slider

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions