Jump to content
Search Community

hereandnow

Premium
  • Posts

    1
  • Joined

  • Last visited

Posts posted by hereandnow

  1. On 10/23/2021 at 12:34 AM, spirconi said:

    Ok, I added the following to the parent component which seems to have done the trick. 

     

    useEffect(() => {
    ScrollTrigger.refresh();
    }, [ScrollTrigger.getAll()]);

    Here to report that I had the exactly same issue and this code solved it. Navigating to another page and back breaks scroll triggers.

×
×
  • Create New...