Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap scrolling implementation? #535

Open
tekigg opened this issue Dec 5, 2023 · 1 comment
Open

Snap scrolling implementation? #535

tekigg opened this issue Dec 5, 2023 · 1 comment
Labels

Comments

@tekigg
Copy link

tekigg commented Dec 5, 2023

Is your feature request related to a problem? Please describe.
I'm trying to do snap scrolling to snap to a section when it's in viewport, but it doesn't seem to work with Locomotive Scroll V5

Describe the solution you'd like
Some sort of an alternative solution would be nice, or if there's a method I'm missing, please let me know!

@devenini devenini added the v5 label Dec 5, 2023
@devenini
Copy link
Member

devenini commented Dec 5, 2023

Hey! Unfortunately, Lenis doesn't support CSS scroll-snap, and since Locomotive is built on top of Lenis, it will not work either. You can learn more about Lenis limitations here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants