improve focus styles

This commit is contained in:
David Lechner
2022-05-16 21:59:58 -05:00
parent 9e092ca469
commit ef7f6d15c4
11 changed files with 160 additions and 41 deletions
+1
View File
@@ -80,6 +80,7 @@ const ActionButton: React.VoidFunctionComponent<ActionButtonProps> = ({
elementRef={elementRef}
onFocus={focusable === false ? (e) => e.preventDefault() : undefined}
onClick={handleClick}
onMouseDown={(e) => e.stopPropagation()}
/>
);
};