diff --git a/packages/tooltip/src/Tooltip.module.css b/packages/tooltip/src/Tooltip.module.css index 647ff0a..3e6f65d 100644 --- a/packages/tooltip/src/Tooltip.module.css +++ b/packages/tooltip/src/Tooltip.module.css @@ -15,9 +15,6 @@ transform: scale(0.95); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; - - top: -9999px; - left: -9999px; } .tooltip.visible { diff --git a/packages/tooltip/src/Tooltip.tsx b/packages/tooltip/src/Tooltip.tsx index c05cfb7..ca06ffc 100644 --- a/packages/tooltip/src/Tooltip.tsx +++ b/packages/tooltip/src/Tooltip.tsx @@ -85,22 +85,18 @@ export const Tooltip = forwardRef(function Tooltip( > {children} - {isVisible && - createPortal( -