Reactivesearch: Pagination customization: get last page

Created on 28 Nov 2018  Â·  6Comments  Â·  Source: appbaseio/reactivesearch

Issue Type: enhancement

Platform: web

Description+Screenshots:
Currently, the pagination only displays the N first page (and not the last one) :

capture d ecran 2018-11-28 a 16 12 56

It could be great if we could display something like this (with the last page):

zrjowucfrgwclsvoxhzbdw

Reactivesearch version: 2.11.0

good first issue native web

All 6 comments

I understand that some websites do this, but can you provide a use case when this would be a desired feature? I can't think of a compelling case, and it seems its presence would harm usability.

I second @davidklebanoff's point. What's a good use-case for showing the last page? I think it can be useful for testing purposes, but not anywhere else.

I'm in favor of having this feature but this should be configurable with a prop (say boolean showLastPage). This stack-exchange post describes the usecase and reasons behind showing the last page button brilliantly - https://ux.stackexchange.com/questions/116448/pagination-what-do-you-need-the-last-page-button-for

Any update on this one @rap2hpoutre

@janaka120 We haven't added support for this yet, but are open to. Feel free to create a PR, or we will leave this open for now.

Picking this up ✨

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carlopascual picture carlopascual  Â·  3Comments

ymzoughi picture ymzoughi  Â·  4Comments

mrtinkz picture mrtinkz  Â·  3Comments

mihalo picture mihalo  Â·  4Comments

rbeers picture rbeers  Â·  3Comments