Skip to content

Commit aaf54a1

Browse files
committed
Make targetable tooltips interactive
1 parent 6497a63 commit aaf54a1

File tree

1 file changed

+1
-0
lines changed
  • components/dash-core-components/src/components

1 file changed

+1
-0
lines changed

components/dash-core-components/src/components/Tooltip.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const Tooltip = ({
3030
width: `${position?.x1 - position?.x0}px`,
3131
height: `${position?.y1 - position?.y0}px`,
3232
display: `${show_tooltip ? 'inline-block' : 'none'}`,
33+
pointerEvents: `${targetable ? 'auto' : 'none'}`,
3334
'--Dash-Tooltip-PointerEvents': targetable ? 'auto' : 'none',
3435
'--Dash-Tooltip-Border-Color': border_color,
3536
'--Dash-Tooltip-Background-Color': background_color,

0 commit comments

Comments
 (0)