Is there a way to make a ListItem
fill the list vertically while also being able to overflow it if needed?
I'm looking for a solution that would allow me to access the height of the empty space in the list, which I believe would be the minHeight
. Sometimes, I may need to add some extra height to it. How can I achieve this?
I attempted using display=flex
and flexDirection=column
on the List
, followed by flexGrow: 1
on the ListItem
. This did help fill the empty space within the list, but it never overflowed as desired.
Does anyone have any suggestions or alternative approaches to tackle this issue?