Skip to content

Commit

Permalink
fix(tooltip): avoid a flash effect and weird initial transition (#2480)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaAmega committed Mar 8, 2024
1 parent 4ab05e2 commit 800db37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/tooltip/src/TooltipWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const TooltipWrapper = memo<PropsWithChildren<TooltipWrapperProps>>(
...tooltipStyle,
...theme.tooltip,
transform: animatedProps.transform ?? translate(x, y),
opacity: animatedProps.transform ? 1 : 0,
}

return (
Expand Down

0 comments on commit 800db37

Please sign in to comment.