pagefind icon indicating copy to clipboard operation
pagefind copied to clipboard

pageSize on Pagefind Modular UI

Open TamanhoErudito opened this issue 1 year ago • 2 comments

Hi,

How to set pageSize on Pagefind Modular UI?

TamanhoErudito avatar Dec 09 '24 16:12 TamanhoErudito

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.

bglw avatar Dec 10 '24 01:12 bglw

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.

TamanhoErudito avatar Dec 10 '24 08:12 TamanhoErudito