How to apply "scroll snap" to VInfiniteScroll #20176
Replies: 1 comment
-
Solution: you also need to add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I'm using the
VInfiniteScroll
component to create a horizontal scroller like a slideshow, but with dynamically added content.Is there a way to apply scroll snap to the element to make the slides lock into place? I tried to apply
style="scroll-snap-type: x mandatory;"
to the component but it has no effect.Any help appreciated. Also, if there are better component to do this, please let me know.
Cheers,
Fred
Beta Was this translation helpful? Give feedback.
All reactions