Had a question regarding Scrolltrigger, which I am new to.
I'm building a landing page using Scrolltrigger for animation, Flickity for an image carousel and Tobii for a lightbox. I realize this is the GSAP forum so don't expect you guys to troubleshoot Flickity and Tobii, but if there is something you can recommend to fix the problem via GSAP i'd be extremely appreciative.
Tobii lightbox:
https://github.com/midzer/tobii
Flickity:
https://flickity.metafizzy.co/
In the Codepen example below, there are 2 panels, an opening animation (panel 1) and an image carousel (panel 2).
I'm running into an issue when I click the "view video" button in the carousel screen. When I click the "X" close button, the lightbox closes, but it scrolls up to the top of the page, plays the animation and then scrolls down to the second panel (carousel).
Any ideas on how to have it remain on panel 2 when the lightbox is closed?