GSAP ScrollTrigger.normalizeScroll()

I’m currently working on a fairly simple animation, a pinned section with horizontal scrolling. Everything works perfectly except for when it runs on mobile devices or safari aka the new internet explorer :stuck_out_tongue:

I was looking around and found that normalizeScroll() could be a solution or at least part of one → Docs - GreenSock

I tried to access bricksforgePanel and bricksforgeData but the timeline object is empty, I’m pretty sure I’m just looking in the wrong place.

Then I tried to put on my detective cap and see if maybe it was already implemented by default. I did find some references to it but if I’m not mistaken, those are for the gsap scrollsmoother.

Could you give me a hint on how to access the timeline so I can see if normalizeScroll actually fixes anything? :slight_smile:

Hey @manc :slight_smile:

The timelines are saved in the “old” location. You find them under brfPanel.timelines. Will update all related data to the new bricksforgeData location in future versions, but everything with backwards compatibility.

1 Like

aaah gotcha thanks :slight_smile: Turns out I didn’t even need to access them to normalize the scroll haha. Now it’s weirdly smoother in safari but choppier in chrome, I’ll keep investigating and hopefully I can make it smooth everywhere.