I am trying to remove focus on button click .Actually in my css it is written this
button:focus,
a:focus {
outline-offset: 2px;
outline-width: 2px !important;
outline-style: dotted !important;
outline-color: currentColor;
}
when I click on button it focus my button here is my code https://codesandbox.io/s/new-snow-x8fih?file=/src/App.js
I have already tried blur event
function handleProductNavigation(event) {
btnRef.current.blur();
console.log(btnRef.current.blur);
//event.currentTarget.blur();
//props.onChange(event, '0E3B648885C24A02B5B2676BEB82C7E9', '', 'rc20p2-open');
}
after click it look like this
