Material-ui: Make thumb in slider component more customizable.

Created on 8 Aug 2018  路  9Comments  路  Source: mui-org/material-ui

Should be able to customize thumb in slider component.

Expected Behavior

Customizing thumb should be flexible and have a separate prop for customizing thumb with images or icons.

Current Behavior

currently there is no option to customize the thumb with images. By default is is of type button and styles are applied on that but there is option to change the type of thumb.

Examples

image

Context

currently I'm trying to add a mdi-react LabelIcon as a thumb to the slider but it is not allowing me to do that. Because it is a button and there is option to override that I'm blocked.

slider

Slider lab

All 9 comments

Please come up with a solution as early as possible.

https://github.com/mui-org/material-ui/pull/12485 I have made a PR for this feature.

Thank you.

We have an urgency for this feature. Please do the needful at the earliest.

This was shipped with @material-ui/[email protected] in #12600. Is this sufficient for your use case @ksairamya?

yes this is sufficient @eps1lon . Thank you for working on it.

That was mainly @adeelibr. I just wanted to make sure that this issue can be closed.

Should this issue be closed now? @oliviertassinari

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iamzhouyi picture iamzhouyi  路  3Comments

ghost picture ghost  路  3Comments

ericraffin picture ericraffin  路  3Comments

anthony-dandrea picture anthony-dandrea  路  3Comments

rbozan picture rbozan  路  3Comments