optimaize focus on iframe

This commit is contained in:
DmitriyB
2023-02-15 15:58:00 +05:00
parent e603b5bbb1
commit 0be57b5b88
+1 -1
View File
@@ -22,7 +22,7 @@ export const Button: React.FC<any> = ({ button, onClick, active }) => {
<motion.button
tabIndex={-1}
onClick={handleClick}
onFocus={(e) => e.target.blur()}
onFocus={(e) => e.target.blur()} /// disable default browser focus when key is pressed
onHoverStart={() => setHover(true)}
onHoverEnd={() => setHover(false)}
className={