Material-ui: More than two arguments recognized "Value" of "Silder Component"

Created on 4 Sep 2019  路  5Comments  路  Source: mui-org/material-ui

  • [ ] The issue is present in the latest release.
  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 馃槸

More than two arguments slier component

https://codesandbox.io/s/material-demo-x1pso

Expected Behavior 馃

Two or fewer arguments are recognized

Strictly speaking, it may not be a bug.
It is unlikely that I will use more than two element in a SliderComponent.

https://codesandbox.io/s/xqcfl

Steps to Reproduce 馃暪

https://codesandbox.io/s/material-demo-x1pso

Your Environment 馃寧

| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.3 |
| React | 16.8 |
| Browser | Chrome |
| TypeScript | 3.5 |
| etc. | |

Slider docs

Most helpful comment

To be fair, I'm still looking for good use cases for it. I have seen it implemented in a couple of alternative solutions I benchmarked. Supporting it wasn't very costly. My hope was that somebody would ask about the feature with a comprehensive context in an issue, not seeing it documented 馃槅.

All 5 comments

What's wrong with it? This is a feature built on purpose. We could document it.

I was quite surprised to see that it's possible. Not sure of a use-case, but yes, worth documenting.

To be fair, I'm still looking for good use cases for it. I have seen it implemented in a couple of alternative solutions I benchmarked. Supporting it wasn't very costly. My hope was that somebody would ask about the feature with a comprehensive context in an issue, not seeing it documented 馃槅.

Clever. 馃槃

We have a demo for it now in https://material-ui.com/components/slider/#removed-track.

Capture d鈥檈虂cran 2019-11-30 a虁 19 09 16

Was this page helpful?
0 / 5 - 0 ratings

Related issues

revskill10 picture revskill10  路  3Comments

zabojad picture zabojad  路  3Comments

reflog picture reflog  路  3Comments

ericraffin picture ericraffin  路  3Comments

anthony-dandrea picture anthony-dandrea  路  3Comments