Describe the bug
When using the Trackpad in Safari with Lenis, and going back and forth, elements are jumping around which looks very buggy.
Everything works fine, so this issue is probably in regard on how macOS/Safari accelerates scrolling via Trackpad. I assume the easiest way to fix it would be if we can disable Lenis similar to mobile devices when the trackpad is used?
I assume we can use the non-standard GestureEvent API to detect so.
To Reproduce
Use Safari on this codepen and try to scroll with a trackpad.
Describe the bug When using the Trackpad in Safari with Lenis, and going back and forth, elements are jumping around which looks very buggy.
Everything works fine, so this issue is probably in regard on how macOS/Safari accelerates scrolling via Trackpad. I assume the easiest way to fix it would be if we can disable Lenis similar to mobile devices when the trackpad is used?
I assume we can use the non-standard GestureEvent API to detect so.
To Reproduce Use Safari on this codepen and try to scroll with a trackpad.