guano Posted June 20, 2021 Share Posted June 20, 2021 I'm trying to do a simple onScroll animation with ScrollTrigger but its driving me insane for 4h. One of them works as intended and fades the content, the other one just sets the elements opacity to 0 as soon as it triggers.. When i then scroll back it starts animating from 0 opacity to 1, but when I scroll down it justs sets the opacity straight to 0 no fading. Im going insane with this, any tips? Thanks anyone for reading Link to comment Share on other sites More sharing options...
OSUblake Posted June 21, 2021 Share Posted June 21, 2021 Hi @guano Can you make a minimal demo showing the issue, either on CodePen or CodeSandbox? Thanks! 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