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

[Feature Request]: infinite Scroll #2007

Open
inmanturbo opened this issue Oct 24, 2024 · 4 comments
Open

[Feature Request]: infinite Scroll #2007

inmanturbo opened this issue Oct 24, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@inmanturbo
Copy link
Contributor

Overview

Is infinite scroll doable? I might be willing to get involved for a bit again work on this.

Detailed explanation

Should maybe have a threshold.

Notes

No response

@lrljoe
Copy link
Collaborator

lrljoe commented Oct 27, 2024

What do you mean by infinite scroll?

@inmanturbo
Copy link
Contributor Author

inmanturbo commented Oct 27, 2024

@lrljoe Certain clients always seem to request an all (-1) per page options even when it's not practical, e.g. for 22,000+ rows.

Would like for when the bottom of the page is hit in this case, increase the page size to load say 50 more, so they can continue scrolling. (And just hide the pagination links)

I believe however this would require the x-intersect plugin for alpine to be done smoothly, so there would need to be some documented steps for devs to get it set up.

@lrljoe
Copy link
Collaborator

lrljoe commented Oct 27, 2024

You could potentially add it by adding the x-intersect attributes to the component or tableWrapper (using the appropriate method from the styling section of configure())

Wouldn't be massively straight forward tho!

I'll have a think this week about how it could be implemented smoothly

I know intersect is now bundled into the version of Alpine core that comes with Livewire, so there at least isn't a dependency that could be missing

Copy link

stale bot commented Nov 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants