Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions'. in GSAP Posted January 25, 2022 I am trying to replicate the same thing as done in this codepen, but i keep getting the error 'Uncaught TypeError: Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions', What do i do? See the Pen NWxNEwY by GreenSock (@GreenSock) on CodePen
Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions'.
in GSAP
Posted
I am trying to replicate the same thing as done in this codepen, but i keep getting the error 'Uncaught TypeError: Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions', What do i do?
See the Pen NWxNEwY by GreenSock (@GreenSock) on CodePen