Home › Forums › CSS › A scrolling flexbox list works as expected, but then fails on a small change › Reply To: A scrolling flexbox list works as expected, but then fails on a small change
January 6, 2018 at 10:10 am
#265056
vsajip
Participant
I made slight variant of the original pen, forked here:
https://codepen.io/vsajip/pen/aEVLMe
In this, the outer wrapper also has display: flex
. It works as given, but if you uncomment out the div#description
, the whole list no longer remains in the window. I can’t see why this is, as the div#list-row
should just occupy the remaining vertical space in the window after the vertical space taken up by div#description
has been accounted for.