Hello,
I'm attempting to recreate an effect from this codepen: https://codepen.io/GreenSock/pen/oNdNLxL
My issue is that the section I want to add animations to on swipe is not at the top of the page, but further down. Is it possible to get this same functionality, but to have scrollable content above the section that uses Observer? I've attached a Codepen example - my issue is that when there is scrollable content above this section, it blows right past the section and gets weird.
Designers I work with always want sections in the middle of the page where animations are tied to mouse events. For example, one swipe switches a panel or animates in text. 😅 I was hoping with observer there would be a cleaner way to do this.
Thanks in advance, really appreciate all your work answering forum questions. I don't often ask but I benefit from questions from others
Sarah