From 4b7cc6c2fe667645945677bae74bd8e60cdba1f9 Mon Sep 17 00:00:00 2001 From: s-sasaki-0529 Date: Fri, 12 Jul 2024 18:00:56 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20AccordionPanel=20=E9=96=8B=E9=96=89?= =?UTF-8?q?=E6=99=82=E3=81=AB=E3=82=B3=E3=83=B3=E3=82=BD=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=8C=E7=99=BA=E7=94=9F=E3=81=99?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/AccordionPanel/AccordionPanelContent.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx b/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx index b57b6776f5..184bd1c8ca 100644 --- a/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx +++ b/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx @@ -31,9 +31,10 @@ export const AccordionPanelContent: FC = ({ className, ... const isInclude = getIsInclude(expandedItems, name) const wrapperRef = useRef(null) const styles = useMemo(() => accordionPanelContent({ className }), [className]) + const nodeRef = useRef(null) return ( - + {(status) => (