Hey, i played around somewhat with your implementation to make it bi-directional. For my usecase for an event overview and based on dates making it truly infinite 😉.
Here is what i have so far, from what i've noticed is the reverse function depended on the chunk size you add when loading more. This also applies to bi-directional, scrolling to the right is smoother than scrolling back.
REPL: https://svelte.dev/repl/271ca9360f9e4f4e825d200c87d1f029?version=3.35.0

Hey, i played around somewhat with your implementation to make it bi-directional. For my usecase for an event overview and based on dates making it truly infinite 😉.
Here is what i have so far, from what i've noticed is the reverse function depended on the chunk size you add when loading more. This also applies to bi-directional, scrolling to the right is smoother than scrolling back.
REPL: https://svelte.dev/repl/271ca9360f9e4f4e825d200c87d1f029?version=3.35.0