components icon indicating copy to clipboard operation
components copied to clipboard

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

Open shammy8 opened this issue 1 month ago • 0 comments

Is this a regression?

  • [X] 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

shammy8 avatar May 21 '24 13:05 shammy8