fix category container hiding overflowing items (select input) (thanks bakzknnd)

pull/88/head
dperolio 3 years ago
parent d52e82e538
commit 76c7361267

@ -71,11 +71,32 @@ export default memo(({ title, description, icon, children, opened, className, ..
animate={!collapsed ? 'open' : 'collapsed'}
inherit={false}
variants={{
open: { height: 'auto' },
collapsed: { height: 0 }
}}
transition={{
duration: getAutoHeightDuration(bounds.height) / 2000
open: {
height: 'auto',
overflow: 'visible',
transition: {
height: {
duration: getAutoHeightDuration(bounds.height) / 2000
},
overflow: {
duration: 0,
delay: getAutoHeightDuration(bounds.height) / 2000
}
}
},
collapsed: {
height: 0,
overflow: 'hidden',
transition: {
height: {
duration: getAutoHeightDuration(bounds.height) / 2000
},
overflow: {
duration: 0,
delay: 0
}
}
}
}}
>
<div ref={ref} className='vz-settings-category-contents'>

Loading…
Cancel
Save