Skip to content

Support for removal of offset #435

Closed Answered by ddnexus
danielnc asked this question in Q&A
Dec 30, 2022 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

Hi @danielnc.

Pagy 6 has just been released, so I guess an update of pagy_cursor may follow later, however please, ask in their repo. There are currently no plan to support id/cursor pagination in the pagy core repo, since that would be too dependent on the ORM and pagy is meant to be agnostic.

turbo broadcast to render new page elements, it returns duplicated elements(since the offset would not be correct)

Yeah... I heard @excid3 commenting in a Remote Ruby episode, that in order to avoid the turbo problem with pagination, they don't update the list in their Jumpstart, unless on the first page or something.

infinite scroll for reverse ordered elements

It looks like your app might ben…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ddnexus
Comment options

@jclusso
Comment options

@benkoshy
Comment options

@jclusso
Comment options

@ddnexus
Comment options

Answer selected by danielnc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants