Skip to content

Commit

Permalink
feat(annotations tooltip): Close on click outside to avoid UI issues (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
megansmith-box authored May 21, 2021
1 parent 725ae47 commit 9d76b1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ function AnnotationsTargetedTooltip({ children, isEnabled = false }: Props): JSX
return (
<TargetedClickThroughTooltip
className="bp-AnnotationsTooltip"
closeOnClickOutside
shouldTarget={isEnabled}
showCloseButton
tetherElementClassName="bp-AnnotationsTooltipTether"
text={
<div>
<h3 className="bp-AnnotationsTooltip-title">{__('annotations_tooltip_title')}</h3>
Expand Down

0 comments on commit 9d76b1e

Please sign in to comment.