Skip to content

Commit 1015a07

Browse files
fix: add styles as position calc dependency
1 parent efc6e3a commit 1015a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Tooltip/Tooltip.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ const Tooltip = ({
468468
}
469469
setActualPlacement(computedStylesData.place as PlacesType)
470470
})
471-
}, [show, activeAnchor, content, place, offset, positionStrategy, position])
471+
}, [show, activeAnchor, content, externalStyles, place, offset, positionStrategy, position])
472472

473473
useEffect(() => {
474474
const anchorById = document.querySelector<HTMLElement>(`[id='${anchorId}']`)

0 commit comments

Comments
 (0)