From 63a47b1ad229834b5188748485c638f8558c1020 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 22 Sep 2023 19:19:30 -0700 Subject: [PATCH] Fix: collapsing group should not prevent resize / stats (#2053) --- src/components/services/group.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/services/group.jsx b/src/components/services/group.jsx index 7a7ae7058..d2d18e4c8 100644 --- a/src/components/services/group.jsx +++ b/src/components/services/group.jsx @@ -49,6 +49,7 @@ export default function ServicesGroup({ group, services, layout, fiveColumns, di beforeEnter={() => { panel.current.style.height = `0px`; setTimeout(() => {panel.current.style.height = `${panel.current.scrollHeight}px`}, 1); + setTimeout(() => {panel.current.style.height = 'auto'}, 150); // animation is 150ms }} >