Hi there, hope you're good!
Describe the bug
I am using Lenis for smooth scrolling, and also using GSAP's Observer plugin to handle some scrolling events for zooming.
I have noticed though, on Firefox, using an apple mouse scrolls perfectly fine over the Observer target, but using a proper mouse wheel such as on a Logitech mouse, it seems to be throttling/lagging. This is however fine on Chrome and Safari though - it seems to just be a Firefox issue.
To Reproduce
I have this codepen with a simplified set up. Lenis is in there, along with the GSAP Observer plugin.
If you open in Firefox and use an apple mouse for example, it scrolls fine when scrolling over the target container, but then switch to a mouse with a proper wheel, it feels like there's some throttling happening.
Then open in Chrome/Safari and do the same and you will see it feels fine.
https://codepen.io/jackkemm/pen/jORbdKa
Thanks in advance :)
Jack
Hi there, hope you're good!
Describe the bug
I am using Lenis for smooth scrolling, and also using GSAP's Observer plugin to handle some scrolling events for zooming.
I have noticed though, on Firefox, using an apple mouse scrolls perfectly fine over the Observer target, but using a proper mouse wheel such as on a Logitech mouse, it seems to be throttling/lagging. This is however fine on Chrome and Safari though - it seems to just be a Firefox issue.
To Reproduce
I have this codepen with a simplified set up. Lenis is in there, along with the GSAP Observer plugin.
If you open in Firefox and use an apple mouse for example, it scrolls fine when scrolling over the target container, but then switch to a mouse with a proper wheel, it feels like there's some throttling happening.
Then open in Chrome/Safari and do the same and you will see it feels fine.
https://codepen.io/jackkemm/pen/jORbdKa
Thanks in advance :)
Jack