optimaize focus on iframe
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user