Skip to content

bug(mat-slide-toggle): disableRipple not causing any visual changes #28679

Open
@amysorto

Description

@amysorto

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

No response

Description

It looks like disableRipple was used to prevent the ripple animation (ripple based on where in the touch target you clicked) in the legacy components, but now that doesn't seem to show up anymore. So it seems that setting disableRipple isn't causing any difference now.

Reproduction

StackBlitz link: https://stackblitz.com/edit/aakbph?file=src%2Fexample%2Fslide-toggle-overview-example.html

Expected Behavior

Setting disableRipple to true would cause a visual difference upon clicking the slide toggle handle.

Actual Behavior

No viusal change

Environment

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/slide-toggle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions