Infinite Scroll jumps
joebentaylor1995 opened this issue · comments
Describe the bug
When using the infinite: true
option, the content loops indefinitely, but there is a notable jump of content vs it looking smooth.
To Reproduce
Literally just add infinite: true
to your lenis config.
Attached is an example of what is happening with my current code. Is there extra steps needed for lenis to calculate infinite scrolling properly?
Kapture.2024-02-09.at.02.37.47.mp4
To have a seamless infinite list you need to duplicate your content and have it 100vh sized.
Here is an example: https://codepen.io/ClementRoche/pen/OJqBLod
Hi, I have this and it still doesn't work, do you have any time free to take a look with me so I understand what I may be doing wrong?
I created the clone, but the jump still remains
I can add you to my repo if need be to look at what I'm doing if need be
What is your email address @joebentaylor1995 ?
email sent