Skip to content

Commit 67b124b

Browse files
committed
move tooltip DOM id to hover-content span
where props.className is applied
1 parent 1d9a17f commit 67b124b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/dash-core-components/src/components/Tooltip.react.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ const Tooltip = props => {
1212

1313
return (
1414
<>
15-
<div id={id} className="dcc-tooltip-bounding-box">
15+
<div className="dcc-tooltip-bounding-box">
1616
<span
1717
data-dash-is-loading={is_loading || undefined}
1818
className={`hover hover-${props.direction}`}
1919
>
2020
<span
21+
id={id}
2122
className={`hover-content ${props.className}`}
2223
style={props.style}
2324
>

0 commit comments

Comments
 (0)