Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Absolute div with 100% height does not continue after scroll Reply To: Absolute div with 100% height does not continue after scroll

#181155
Alen
Participant

It’s because you’re setting the height with JavaScript.

If you resize the browser to mobile width first then hit refresh, and then scroll you’ll see it works.

You might want to bind the functionality of calculating height to the resize event.