I'm using the ScollTo plugin to hijack the scrolling of the user:
I've got multiple sections.
Once the user scrolls a little bit the first scrollTo animation gets triggered and scroll the whole window to the second section.
Once the user scrolls down more it automatically scrolls down to a third section.
To achieve this I've use this code:
let tlhomescroll = gsap.timeline({
scrollTrigger: {
trigger: '.o-herotall__bg',
start: "top top",
end: "bott
Hey @Neomas
I just andwered a question in the thread mentioned below on how to possibly prevent the callbacks from firing when clicking a nav-button.
That demo showed the same behaviour you mentioned - the callbacks firing too, when reloading the page in a section further down, so I added a variable there to check wether the page is still 'settingUp' and then only fire the callbacks if that variable is false. That seems to work quite good and could be a possible solution to your