Skip to content

Commit bcdb7da

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Tooltip/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
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)