Clément Roche

Results 124 comments of Clément Roche
trafficstars

i think it could be Lenis bug since it works without, I just need time to figure it out

hey @cojaco, it seems that's a Webkit bug with passive "wheel" events listener. check this codepen without Lenis: https://codepen.io/ClementRoche/pen/WNVRQXG I created a Webkit ticket: https://bugs.webkit.org/show_bug.cgi?id=281300

This package is 7 years old, have you tested it on differents devices/browsers ?

ah i see, it's more like an "event modifier" then. Allowing anyone to alterate the inputs.

`virtualScroll` options can be used to manually modify the events before they get consumed. If false is returned, the scroll will not be smoothed. Examples: `(e) => { e.deltaY /=...

Which version of the lib are you using? Since v1 a `normalizeWheel` options has been introduced and should fix this kind of issues. https://github.com/studio-freight/lenis/blob/main/README-v1.md#instance-settings

Are you using a trackpad or an actual mouse ?

Using a mouse each wheel is currently 100

Yes it has been fixed in the past @thasmo. What's the value you get on Chrome ? On my side Chrome deltaY is 100 with both `normalizeWheel: true` and `normalizeWheel:...

Currently normalize wheel across browsers and OS seems impossible, everyone is using a different scroll device or configuration and it's impossible to detect such things