From 08aa7cb5c5ea9552d4ae2395dc714eb8a6a2a33c Mon Sep 17 00:00:00 2001 From: Dmitry Khorkin <32310771+DimaAmega@users.noreply.github.com> Date: Sat, 2 Dec 2023 07:22:45 +0400 Subject: [PATCH] tooltip: avoid a flash effect and weird initial transition --- packages/tooltip/src/TooltipWrapper.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tooltip/src/TooltipWrapper.tsx b/packages/tooltip/src/TooltipWrapper.tsx index 732b433b0..616b7f18e 100644 --- a/packages/tooltip/src/TooltipWrapper.tsx +++ b/packages/tooltip/src/TooltipWrapper.tsx @@ -80,6 +80,7 @@ export const TooltipWrapper = memo>( ...tooltipStyle, ...theme.tooltip, transform: animatedProps.transform ?? translate(x, y), + opacity: animatedProps.transform ? 1 : 0, } return (