Hey, thanks for implementing this library!, I have been working with this library for the past 6 months.
I'm using Astro + Swup.
On Page load animations works perfect but problems start to show up when I install jsPlugin.
// Home
{
from: '(.*)',
to: '/',
in: async (next, infos) => {
await preloadImages('img'); // preload new images using imagesloaded.
await takeYourTime(200); // set timeout just to be "safe"
var tl = gsap.timeline({
onComplete: next
})
tl.add(new In()) // in moves c--transition ONLY
tl.add(new HomeTransition()) // custom transition
},
out: (next, infos) => {
var tl = gsap.timeline({
onComplete: next
})
if (document.getElementById('burger').className.match('b--burger-a--is-active')) {
tl.add(letsHideTheNavbar())
}
tl.add(new Out()) // in moves c--transition ONLY
}
},
Hey, thanks for implementing this library!, I have been working with this library for the past 6 months. I'm using Astro + Swup. On Page load animations works perfect but problems start to show up when I install jsPlugin.
This is how HomeTransition Looks like
It happen that sometimes/randomly splitText do not get fired. It happens on WorkIndexTransition.js too. Can't even make a document.querySelectorAll.
https://codesandbox.io/p/github/andresclua/portfolio-frontend-2024/main?workspaceId=138605fe-a185-46bd-9550-479e93c08fe6
I just drop this codesandbox, would love some feedback.