Skip to content

[Bug]: Slider component showing max value twice in slider #20471

@caritaou

Description

@caritaou

Package

@carbon/react

Browser

Chrome

Package version

v1.84.0

React version

v18.3.0

Description

In the Slider component, when the step is a decimal value, the max value is shown twice in the slider
https://github.com/user-attachments/assets/ce206f45-74cc-43a5-9a37-605caf6379fd

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-slider--default&args=max:1;step:0.1

Steps to reproduce

Using the slider component, set the max to 1 and step to 0.1

Suggested Severity

None

Application/PAL

Elyra CommonProperties

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    ⏱ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions