SuppahSeb
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by SuppahSeb
-
-
Hi all,
I have been having some problems for a couple of days now and can not make this work. I have created a quick fork of one of official "Horizontal scrollers" and added an additional element to html + put position: fixed; top, bottom, left, right: 0 to simulate my problem.
So the main problem is that the scrolling "height" seems to be bigger than the scrolling "height" of horizontal elements, so when it comes to an end it jumps to the section bellow the container. I figured out that this is some kind of expected behaviour (even though it's weird ), but can I do something to prevent that? I have tried everything, from calculating window height and removing extra height etc. but there must be one simple solution that I am missing out 😕
Thank you for your answers
See the Pen zYBNVao by SuppahSeb (@SuppahSeb) on CodePen
Horizontal scroll in position: fixed overlay container problems
in GSAP
Posted
Hi ZachSaucier,
I need the
position: fixed
because I want to show it in overlay/popup which has theposition: fixed
(the element needs to be hidden and only gets visible in an overlay when clicked on "Show" button).