Skip to content

[docs] Do the scale property in @mui/material/Slider actually do anything? #47213

@CoryAlbrecht

Description

@CoryAlbrecht

Steps to reproduce

When setting the scale property on a <Slider> element as per the documentation, the handler never seems to get called, ever.

So does that scale property actually do anything? Having it would seem to imply that it is used for something and the function assigned to the scale property would get called at some point by the internal operations of the <Slider>, such as some event handler receiving the new scaled value instead of the slider position.

But right now it seems useless.

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: slider scale

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to the documentation.scope: sliderChanges related to the slider.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions