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

pageSize on Pagefind Modular UI #750

Open
TamanhoErudito opened this issue Dec 9, 2024 · 2 comments
Open

pageSize on Pagefind Modular UI #750

TamanhoErudito opened this issue Dec 9, 2024 · 2 comments

Comments

@TamanhoErudito
Copy link

Hi,

How to set pageSize on Pagefind Modular UI?

@bglw
Copy link
Contributor

bglw commented Dec 10, 2024

Hi, can you provide some more context on this request?

The Modular UI results don't have a concept of pages, and instead use the browser's IntersectionObserver to load results as they are scrolled into view. There isn't currently a paged result component available in the Modular UI.

@TamanhoErudito
Copy link
Author

thanks @bglw

With pageSize I was trying to achieve a pagination style results because at the moment it works as you describe (infinite scroll).

Would be nice to have both options, pagination, load more or infinite scroll.

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

2 participants