Guys I find the issue, thanks a lot mentioning that something might be causing a re-render make me focos on that.
On the component cleanup, we were calling timeline.scrollTrigger.disable();
useEffect(() => {
console.log("mount1");
return () => {
timeline.scrollTrigger.disable();
console.log("unmount1");
};
},[]);
But on the useEffect we miss the [], so the component was mounting, unmounting, mounting. Causing that disable to run.
Also I had to run it on serverside, without that it keeps saying DOMException: Failed to execute 'insertBefore' on 'Node':....