I applied custom navigation to sections on the home page of Linen Rental Services, Hotel Linen Laundry - Linencare - Linencare Laundries and it works mostly ok.
Each section under the hero section should slide in as the middle of the section reaches the bottom of the viewport.
What’s happening instead: If I scroll the page immediately after the page loaded all sections animate as soon as the first section triggers the animation.
If I wait a few seconds before start scrolling after page load, animation seem to work as expected, animating one by one as it comes to view.
Error:
Any idea why is this happening and how can I prevent it?
@matjaz Thank you for checking it and for the workaround. That was my suspicion too, I still don’t understand though why the animation works but not the way I expect it.
The production site will be fully cached, that will drastically improve load time. If the issue persist I’ll implement your workaround.