You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have deployed my project on firebase and the react-gsap scrolltrigger is not working I get this error in the console:
Invalid property scrollTrigger set to {trigger: Array(1), start: '-10px top', end: '-5px center', scrub: 0.5} Missing plugin? gsap.registerPlugin()
The react-gsap scrolltrigger is working perfectly on localhost.
The text was updated successfully, but these errors were encountered:
besides gsap.registerPlugin(ScrollTrigger), you also need gsap.core.globals("ScrollTrigger", ScrollTrigger); below that line, spent a few hours to just figure this out. Hope this helps
I have deployed my project on firebase and the react-gsap scrolltrigger is not working I get this error in the console:
Invalid property scrollTrigger set to {trigger: Array(1), start: '-10px top', end: '-5px center', scrub: 0.5} Missing plugin? gsap.registerPlugin()
The react-gsap scrolltrigger is working perfectly on localhost.
The text was updated successfully, but these errors were encountered: