Skip to content

Commit

Permalink
fix(tooltip): content selectable
Browse files Browse the repository at this point in the history
Closes #272
  • Loading branch information
smbea committed Aug 2, 2023
1 parent 0ab10ba commit bbcae61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/entries/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ function Tooltip(props) {
style={ getTooltipPosition(wrapperRef.current) }
ref={ tooltipRef }
onClick={ (e)=> e.stopPropagation() }
onMouseDown={ (e)=> e.stopPropagation() }

Check warning on line 119 in src/components/entries/Tooltip.js

View check run for this annotation

Codecov / codecov/patch

src/components/entries/Tooltip.js#L119

Added line #L119 was not covered by tests
>
<div class="bio-properties-panel-tooltip-content">
{value}
Expand Down

0 comments on commit bbcae61

Please sign in to comment.