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

CSS Snapping? #10

Closed
iccowan opened this issue Dec 7, 2021 · 2 comments · Fixed by #11
Closed

CSS Snapping? #10

iccowan opened this issue Dec 7, 2021 · 2 comments · Fixed by #11
Labels
enhancement New feature or request

Comments

@iccowan
Copy link
Contributor

iccowan commented Dec 7, 2021

I noticed that it appears a scroll-snap-align attribute is being assigned to each ScrollPage, but I can't seem to figure out how to get snapping to work. Is there some extra CSS that should be added? If not, is there any way this could be easily added (maybe an option to turn it on or off)? Thank you!

@iccowan
Copy link
Contributor Author

iccowan commented Dec 7, 2021

Actually, I couldn't figure this out so I went ahead and implemented a solution that works directly with the package (see #11).

@1000ship
Copy link
Owner

1000ship commented Dec 8, 2021

I checked your PR, Thanks! :)

@1000ship 1000ship added the enhancement New feature or request label Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants