diff --git a/src/components/tooltip/tooltip.tsx b/src/components/tooltip/tooltip.tsx index 7bf7e93a..edd018d1 100644 --- a/src/components/tooltip/tooltip.tsx +++ b/src/components/tooltip/tooltip.tsx @@ -30,7 +30,7 @@ export const Tooltip = ({ const { styles, attributes } = usePopper(referenceElement, popperElement, { placement: position, - strategy: strategy !== "portal" ? strategy : "absolute", + strategy: strategy === "fixed" ? "fixed" : "absolute", modifiers: [{ name: "offset", options: { offset: [0, 8] } }], });