i upgraded from material ui version 3 to 4 and would like to override: .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline
since I think this update introduces the hover state which is changing my current UI.
I used createMuiTheme()
and have tried the following but none of those worked:
MuiOutlinedInput: {
root: {
'&:hover': {
'&$notchedOutline': {
borderColor: '#f00',
}
},
},
}
MuiOutlinedInput: {
root: {
'&$hover $notchedOutline': {
borderColor: '#f00',
},
},
}
what am I doing wrong, hope someone can help