Closed
Description
Hi, I am trying to create Collapse which contains to parts:
- Div with non scrollable content
- Div with scrollable content, that should have height of 100% of expanded collapse
I have to set overflow: hidden
to all items scrollable content is nested in, but setting overflow: hidden
to top item inside collapse make it always 0px height. Maybe I missed something. Thanks in advance
<Collapse>
<div class="flex flex-col h-full overflow-hidden">
// This is non scrollable
<div>...</div>
// This is scrollable
<div class="overflow-auto h-full flex flex-col">...</div>
<div>
</Collapse>