Try to read the text or click on a link in the footer, and if you're lucky the request will be slow enough.
Try to read the text or click on a link in the footer, and if you're lucky the request will be slow enough.
One site attempted to do it more intelligently, and the footer floated via z-index and pinned to the bottom of the window such that it was always visible despite the infinite scroll. Though they got it a little wrong and didn't account for the footer height in scroll calculations so if the content wasn't infinite so you could get to the end of the scroll, the last couple of lines were obscured by the footer. There must be quite a few ways to do this “properly” and smoothly (just thought of a couple right now, and I'm no front-end guy), assuming you consider automatic infinite scroll to ever be considered doing design “properly”.
you can then make the container fill the height/width with flexbox
in that case you can just add position: sticky and bottom: 0 to the footer
with this trick you get the same behavior as with position: fixed but won’t need a wrapper div as in the comment i replied to