Skip to content

Commit

Permalink
fix: fixed onFocus
Browse files Browse the repository at this point in the history
  • Loading branch information
guidari committed Mar 5, 2024
1 parent 65237e3 commit 5187d84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const DefinitionTooltip: React.FC<DefinitionTooltipProps> = ({
openOnHover ? setOpen(true) : null;
}}
onFocus={() => {
openOnHover ? setOpen(true) : null;
setOpen(true);
}}
open={isOpen}>
<button
Expand Down

0 comments on commit 5187d84

Please sign in to comment.