Skip to content

bug(slider): Tick marks changes position as the slider is changed #29084

@shammy8

Description

@shammy8

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

16 and before

Description

Set the min input to 0.1, the max input to 1, step size input to 0.1 and showTicks input to true. Move the slider, the tick marks changes when it should not move.

Reproduction

https://v17.material.angular.io/components/slider/examples

In the first example, set the values as in the description above then move the slider. The tick marks changes positions as you move the slider.

Expected Behavior

The tick mark should not change when the min, max and step aren't changed.

Actual Behavior

The tick marks are changing position as I slide the slider.

Environment

  • Angular: 17.3.7
  • CDK/Material: 17.3.7
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows, macOS

Metadata

Metadata

Assignees

No one assigned

    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