Skip to content

Commit

Permalink
fix: AccordionPanel 開閉時にコンソールエラーが発生する問題を修正 (#4777)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-sasaki-0529 authored Jul 12, 2024
1 parent a9d43c8 commit 25f8f83
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ export const AccordionPanelContent: FC<Props & ElementProps> = ({ className, ...
const isInclude = getIsInclude(expandedItems, name)
const wrapperRef = useRef<HTMLDivElement>(null)
const styles = useMemo(() => accordionPanelContent({ className }), [className])
const nodeRef = useRef<HTMLDivElement>(null)

return (
<Transition in={isInclude} timeout={150}>
<Transition in={isInclude} timeout={150} nodeRef={nodeRef}>
{(status) => (
<div
{...props}
Expand Down

0 comments on commit 25f8f83

Please sign in to comment.