Hi Guys
Im working on a horizontal scrolling example. https://codepen.io/Mizu_/full/xxpvELK
Unfortunately the duration property does not work, the animation is still too fast.
this.horizontalScroll = gsap.fromTo(this.slider, {
x: () => 0,
}, {
x: () => transformedValue,
ease: 'circ',
duration: 0.1,
scrollTrigger: {
trigger: this.$el,
pin: this.$el,
invalidateOnRefresh: true,
scrub: true,
allowAnimation: false,
anticipatePin: 1,
// markers: true,
},
});
Thanks so much for every hint!
Best
Michelle