curajuice Posted January 6, 2022 Share Posted January 6, 2022 Hi there, I have searched all over the internet for hours without any luck. My guess is it has something to do with the gsap.registerPlugin(ScrollTrigger) I have attached some screenshots. I would appreciate any help. Thank you! Link to comment Share on other sites More sharing options...
Cassie Posted January 6, 2022 Share Posted January 6, 2022 Hey there! This thread should help you ✨ Alternatively theres this stack overflow answer?https://stackoverflow.com/questions/59449554/correct-way-to-pass-useref-hook-to-ref-property Link to comment Share on other sites More sharing options...
curajuice Posted January 6, 2022 Author Share Posted January 6, 2022 Unfortunately no luck. I studied the codes, refactor my code and did all sort of things. Thanks though! Link to comment Share on other sites More sharing options...
Cassie Posted January 6, 2022 Share Posted January 6, 2022 Sorry to hear that! Maybe check out our React guide? Link to comment Share on other sites More sharing options...
curajuice Posted January 6, 2022 Author Share Posted January 6, 2022 @Cassie lol I spent more than 2 hours to come and find out that....... I forgot the .current on the scroller and trigger. wow this is ridiculous 🙃🤣 thanks cassie! 1 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