I’ve read loads of posts on this but there’s no solution, which seems odd?
My single page app has a main ‘index’ page of 2000px high with many individual groups inside with vary in heights.
Collapsing and hiding groups makes no difference, the index page always remains at the height you initial set, in my case 2000px.
Why is this an issue?
My footer remains all the way down at the bottom of the index page, whilst some groups are only 300px high so the page needs to scroll a long way to reach the footer. Why can we not simply collapse the actual index page to fit which ever group is visible?
I’ve tried various CSS but no joy.
Close, by no cigar
If you only have text on a page you can set the text box with a height of, say 200px and if you have loads of text the text box will expand and push the index page height down. This is brilliant, but it won’t work if you have other elements other than a text box.