If you use the disabled prop the focus state styles can not be removed by clicking away. https://codesandbox.io/s/hopeful-khayyam-qy5n8?file=/src/App.js