David Jumbo Posted March 8, 2021 Share Posted March 8, 2021 Hi, GSAP guys. Thanks in advance. I have issue with scrolltrigger animation in website with mapbox gl. The html element containing mapbox is located from the top after several elements. It has some scroll trigger animation, but when I scroll down to that element, all the animation effects( of mapbox ) are already done, since the scroll triggered from the top of document. How can I trigger scroll animation when mapbox is in viewport? The main page also has scroll animation( kind of main animation). I think mapbox animation and main animation conflicts, but cannot figure out how to solve it. If any idea, then please let me know. Thanks for your time. Link to comment Share on other sites More sharing options...
elegantseagulls Posted March 8, 2021 Share Posted March 8, 2021 Hi @David Jumbo, Could you please set up a codepen or similar demo that shows the issue? It's nearly impossible to debug without seeing any of the code you're using. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now