DrQuincy Posted November 28, 2023 Posted November 28, 2023 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?
Stefanowitsch Posted November 28, 2023 Posted November 28, 2023 As far as I know this is a default behaviour on Macs and/or iOS devices. Maybe this plugin can help? https://github.com/lazd/iNoBounce 1
da² Posted November 29, 2023 Posted November 29, 2023 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?
DrQuincy Posted November 29, 2023 Author Posted November 29, 2023 I don't think so. Seems to be an Apple thing.
da² Posted November 29, 2023 Posted November 29, 2023 Yes I see this Apple thing, but it can't show if it's hidden. ^^ 1
Recommended Posts