Hello,
I just upgraded to 3.12.1 from 3.11.5, and ScrollTrigger crash when I go to a page with a scroll restauration, containing a ScrollTrigger with {once: true}.
I can't manage to reproduce it in a Codepen, I still did one: https://codepen.io/benjaminrobinet/pen/ZEmBBVq...
I feel like ScrollTrigger is trying to refresh an already killed (due to the once: true) one.
I have errors like: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'end')
const tl = gsap.timeline({
scrollTrigger: {
start: 'top 90%',
end: 'bottom 10%',
trigger: '.element',
once: true,
toggleActions: 'play none play none',
},
});