Currently, I am in the process of creating a login form and have incorporated Material UI textfields. However, I am facing an issue where the textfield's default hover and active states cannot be removed.
Below is my password textfield: (https://i.stack.imgur.com/pSiXt.png)]
With hover: (https://i.stack.imgur.com/NhqQO.png)]
Active: (https://i.stack.imgur.com/fir8E.png)]
I have attempted the following solutions:
'& .MuiInput-underline:hover:before':
{
border: 'none !important'
},
'&:hover fieldset': {
borderColor: 'grey',
},
'& .MuiInput-underline:hover:before':
{
border: 'none !important'
},
All I need is to remove the hover and active effects from the textfields.