diff --git a/src/mantine-core/src/Tooltip/Tooltip.tsx b/src/mantine-core/src/Tooltip/Tooltip.tsx index 781d9436af2..972bde7930d 100644 --- a/src/mantine-core/src/Tooltip/Tooltip.tsx +++ b/src/mantine-core/src/Tooltip/Tooltip.tsx @@ -150,8 +150,8 @@ const _Tooltip = forwardRef((props, ref) => { ...style, ...transitionStyles, zIndex, - top: tooltip.y ?? '', - left: tooltip.x ?? '', + top: tooltip.y ?? 0, + left: tooltip.x ?? 0, }, })} >