Jump to content

Can you stop browsers scrolling past the end of <body> and snapping back?


Recommended Posts

Posted

I have a site that has a parallax fixed banner at the top and then the rest of the content goes underneath with a higher z-index.

It works great but when — on a Mac at least — you scroll quickly down to the bottom of the page it scrolls beyond the height of the document body and then snaps back and for a breif moment you can see the fixed banner underneath.

Is there a CSS property to prevent this?

Posted
21 hours ago, DrQuincy said:

Is there a CSS property to prevent this?

Can't fix it with an overflow:hidden somewhere on a parent div?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...