We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccf6ee commit 480beb8Copy full SHA for 480beb8
src/styles/utils/generators/TooltipStyleUtils/index.ts
@@ -287,7 +287,7 @@ const createTooltipStyleUtils: StyleUtilGenerator<GetTooltipStylesStyleUtil> = (
287
const tooltipHorizontalPadding = spacing.ph2.paddingHorizontal * 2;
288
const tooltipWidth = props.tooltipContentWidth && props.tooltipContentWidth + tooltipHorizontalPadding + 1;
289
const isTooltipSizeReady = tooltipWidth !== undefined && props.tooltipWrapperHeight !== undefined;
290
- let scale = 1;
+ let scale = 0;
291
if (isTooltipSizeReady) {
292
scale = props.currentSize.get();
293
}
0 commit comments