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

Bi-directional #17

Open
lalilaloe opened this issue Mar 25, 2021 · 2 comments
Open

Bi-directional #17

lalilaloe opened this issue Mar 25, 2021 · 2 comments

Comments

@lalilaloe
Copy link

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

demo

@andrelmlins
Copy link
Owner

Hi @lalilaloe , your solution is very interesting. I'm doing some tests. Would you be interested in submitting a PR with this feature?

@JoshuaDietz
Copy link

@lalilaloe Do you plan do create a PR for that? I would love to use this feature.

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

No branches or pull requests

3 participants