Skip to content

Commit

Permalink
temp: fix tooltip focus
Browse files Browse the repository at this point in the history
  • Loading branch information
smbea committed Jul 21, 2023
1 parent 93efa86 commit d66e943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/entries/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ function Tooltip(props) {
ref={ wrapperRef }
onMouseEnter={ showTooltip }
onMouseLeave={ ()=> clearTimeout(timeout) }
onMouseDown={ (e)=> e.preventDefault() && e.stopPropagation() }
onFocus={ showTooltip }
onKeyDown={ hideTooltipViaEscape }
onMouseDown={ (e)=> {e.preventDefault();} }
>
{props.children}
{visible ?
Expand Down

0 comments on commit d66e943

Please sign in to comment.