I am using gsap in ODOO Online, I have placed the cdns of gsap and scrollTrigger in "Web Layout" file and it is showing that odoo has picked the cdn which is fine, but when I write gsap code i.e gsap.to(".char", {
y: 0,
stagger: 0.05,
delay: 0.2,
duration: 0.05,
scrollTrigger: {
trigger: "#top_brands_tag_two",
markers: true,
start: "top 80%",
end: "bottom 50%",
scrub: true
}
});
.char being the class provided from "Split-type" another javascript library for splitting text for animation.
Issue is that markers appear on screen but the element markers which should interact with the big markers are stuck.
The element markers when crosses the right side markers will animate the text, but as of now the element markers are stuck and not moving with the scroll.