DEV Community

Discussion on: How I Integrate Svelte With Gsap 3

Collapse
 
arjarn profile image
arjarn

I'm using your method with Sapper (on standard template) and having trouble.
I have 3 differents pages (with navbar) : when i enter in page with GSAP animation all is good. But when I'm swapping on another page : content display by GSAP is always on screen and the new content appear under....

Have you another trick for using GSAP with Sapper ?

Collapse
 
manyeya profile image
Khutso siema

Set the position of the pages to absolute or use location api to do a conditional render