Skip to content

bug(mat-slider): dragEnd event no longer triggers for matSliderStartThumb and matSliderEndThumb #26285

Closed
@ChristopherSnay

Description

@ChristopherSnay

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

15.0.1

Description

The events no longer fire without any code change since 15.0.1.

<mat-slider>
    <input matSliderStartThumb (dragEnd)="dragEnded($event)">
    <input matSliderEndThumb (dragEnd)="dragEnded($event)">
</mat-slider>

Reproduction

Steps to reproduce:

  1. Add a new mat-slider with start and stop thumbs.
  2. Add a dragEnd event to each input
  3. Event is not triggered.

Expected Behavior

The event should fire on dragEnd

Actual Behavior

The event does not fire on dragEnd

Environment

  • Angular: 15.0.4
  • CDK/Material: 15.0.3
  • Browser(s): Edge, Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): 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