tniou
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by tniou
-
-
Hi people,
I've used horizontal scroll with GSAP successfully a few times before, and now I want the horizontal scroll to happen in a container, where the body element has position fixed (the horizontal scroll should happen inside the child container or so).
So far I haven't come up with any solution to it though, is it possible at all?See the Pen mdYxejR by tantoniou (@tantoniou) on CodePen
Body fixed with horizontal scroll, is it possible?
in GSAP
Posted
Thanks for your response Rodrigo
The above pens do not work in my case, which is as simple as my pen, a single horizontally scrolling container inside a fixed body to prevent the browser from switching the address bar in mobile/tablet devices.
If I make the body (not the container of the horizontal scroll) fixed, then the browser has no height to scroll on, and I can't make it to scroll inside a wrapper/container element