-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedscope: sliderChanges related to the slider.Changes related to the slider.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Milestone
Description
I have overridden the disabled state of Slider.
but I don't know which syntax is correct:
const theme = createMuiTheme({
components: {
MuiSlider: {
styleOverrides: {
root: {
// case 1: Working
// "&.MuiSlider-root.Mui-disabled": {
// color: "red"
// }
// case 2: Not Working
"&.Mui-disabled": {
color: "red"
}
}
}
}
}
});Usually, I use method 2. but it doesn't seem to work in this case
More details:
https://codesandbox.io/s/continuousslider-material-demo-forked-3qphg
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedscope: sliderChanges related to the slider.Changes related to the slider.type: bugIt doesn't behave as expected.It doesn't behave as expected.