optimaize focus on iframe
This commit is contained in:
@@ -22,7 +22,7 @@ export const Button: React.FC<any> = ({ button, onClick, active }) => {
|
|||||||
<motion.button
|
<motion.button
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
onFocus={(e) => e.target.blur()}
|
onFocus={(e) => e.target.blur()} /// disable default browser focus when key is pressed
|
||||||
onHoverStart={() => setHover(true)}
|
onHoverStart={() => setHover(true)}
|
||||||
onHoverEnd={() => setHover(false)}
|
onHoverEnd={() => setHover(false)}
|
||||||
className={
|
className={
|
||||||
|
|||||||
Reference in New Issue
Block a user