fukasawa-seo

This commit is contained in:
tangly1024
2023-07-09 17:15:56 +08:00
parent 715ec43ad3
commit 58c0cc2837
13 changed files with 28 additions and 27 deletions

View File

@@ -84,7 +84,7 @@ const Collapse = props => {
}, [props.isOpen])
return (
<div ref={ref} style={type === 'vertical' ? { height: '0px' } : { width: '0px' }} className={`${props.className} overflow-hidden duration-200 `}>
<div ref={ref} style={type === 'vertical' ? { height: '0px', willChange: 'height' } : { width: '0px', willChange: 'width' }} className={`${props.className} overflow-hidden duration-200 `}>
{props.children}
</div>
)