Hello,
I am currently trying to activate a CSS change with ScrollTrigger.
The website is also using LocomotiveScroll and it appears that the markers aren't displaying when I have LocomotiveScroll activated.
The same behavior can be seen in the codepen attached.
Removing the lines of code responsible for LocomotiveScroll, that is line 2 - 5, makes ScrollTrigger work properly, having LocomotiveScroll included however causes the markers to disappear.
This is the most minimal example I could make, that shows that behavior.
I have found a few posts here with similar problems however most of these could be resolved with something in the sorts of
ScrollTrigger.addEventListener("refresh", () => locoScroll.update());
ScrollTrigger.refresh();
Sadly, this doesn't resolve the issue for me.
Maybe I forgot something important as I am relatively new to the ScrollTrigger library.
As I am not sure if this a LocomotiveScroll or ScrollTrigger side problem, I am posting this problem here, too
Thanks in advance,
Max