Skip to content

mat-slider: disable special styling on minimum value #18298

@dmarku

Description

@dmarku

Feature Description

If a <mat-slider> is set to its minimum value, it adds a special class (.mat-slider-min-value) that changes the styling of the slider thumb. It would be useful to disable this behavior or adjust the value where this "resting state" occurs.

Use Case

In our scenario, the slider ranges from negative to positive values, so the minimum value is not semantically different to other values (except maybe the zero position). It would be nice to visually represent this equality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/sliderfeatureThis issue represents a new feature or feature request rather than a bug or bug fixmaterial specIssue related to the Material Design spec https://material.io/design/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions