Jump to content
Search Community

element suddenly disappearing on scroll up

Pollen-c test
Moderator Tag

Recommended Posts

Hi, I have an issue with my Scrolltrigger animation. My images and texts appear as I want them when I scroll down, but when we scroll up, I really don't like how texts and images suddenly disapear .😐

I would like them to reset when then entirely out of the view, or maybe with a animation.

 

I'm working on elementor pro.

 

Thanks a lot for your help ! 😀

See the Pen oNJmgbr by pauline-chalus (@pauline-chalus) on CodePen

Link to comment
Share on other sites

13 hours ago, Pollen-c said:

I actually wanted a reset and not a reverse but when I do that, it resets before it's completly out of the view ! Do you see what I mean ?

That is because the start point of your ScrollTrigger instances. Honestly I'd stick with the solution Jack provided but if you want to use reset maybe this approach could be useful:

See the Pen poqGXZE by GreenSock (@GreenSock) on CodePen

 

Hopefully this helps.

Happy Tweening!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...