Is there a way of implementing the refresh method? When conditional rendering another component, the scrolltrigger components is sent down the screen, but the start/end triggers are not refreshed/re-calculated. Have tried calling the ScrollTrigger.refresh() method, but does not seem to be the solution (I hope such a simple solution is available).
Is there a way of implementing the refresh method? When conditional rendering another component, the scrolltrigger components is sent down the screen, but the start/end triggers are not refreshed/re-calculated. Have tried calling the ScrollTrigger.refresh() method, but does not seem to be the solution (I hope such a simple solution is available).