-
-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I have a website that has some sections with overflow-x:auto
applied:
Codepen
When you try scrolling with a trackpad horizontally it still moves the page vertically a bit — as you can't do a perfect horizontal swipe on the trackpad. So minimal vertical scroll is still present and lenis reads it.
Is there a way to somehow detect scroll direction and prevent vertical scroll if it's horizontal?
Or would be the best solution? Disable lenis on those sections?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working