From ce3b9084649ced2882800f3bcef9fbb6a00e4372 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Wed, 12 May 2021 15:28:29 +0300 Subject: [PATCH] Profile: Fix missing tabs after switching (#1082) --- src/components/ui/Transition.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ui/Transition.tsx b/src/components/ui/Transition.tsx index 257eb690..4cfa408c 100644 --- a/src/components/ui/Transition.tsx +++ b/src/components/ui/Transition.tsx @@ -226,6 +226,7 @@ const Transition: FC = ({ if (activeElement) { activeElement.style.height = 'auto'; container.style.height = `${activeElement.clientHeight}px`; + container.style.flexBasis = `${activeElement.clientHeight}px`; } } }, [shouldRestoreHeight, children]);