Hi guys,
As you can notice, I'm very new over here, but very glad to join the GreenSock cummunity : >
I'm trying to make the ScrollTrigger horizontal move on a flexbox element : <div id="container">.
To do so I changed the "scroller: '.fl-tests' " so it doesn't look for the Viewport (or body) scrolling which is the default scroller.
The idea behind that is to make the whole thing work in a pop-up or modal window (so scroll on the body will be overflow:hidden when executing the pop-up). The horizontal effect will target the content of that pop-up.
See my simple Codepen, I can't get the whole scrolling on the right of the screen (should see 10 blocs elements), plus there is like some kind of weird white top padding collapsing some how from the top while scrolling down
Any help would be so appreciated as I'm out of ideas, and could not find much demos/example out there with the "scroller" parameter different from default/viewport.
Thanks for your time : )