I'm using the material-ui datepicker and the material-ui buttons. I'm getting a black border when I click on the datepicker icon to select the date or when I click on any of the buttons. How can I get rid of the black border?
Share Improve this question asked May 14, 2021 at 5:54 Vins98Vins98 713 silver badges8 bronze badges 1I'm using the material-ui datepicker and the material-ui buttons. I'm getting a black border when I click on the datepicker icon to select the date or when I click on any of the buttons. How can I get rid of the black border?
- Do you use material-ui KeyboardDatePicker? – BTSM Commented May 14, 2021 at 6:04
2 Answers
Reset to default 4Please try like this.
button:focus { outline: none !important;;}
you can do it by changing the css:
button:focus { border: none;}