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

Pagination: buttons that have no effects should be disabled #126

Open
FlorianCassayre opened this issue Jul 28, 2020 · 2 comments
Open

Pagination: buttons that have no effects should be disabled #126

FlorianCassayre opened this issue Jul 28, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@FlorianCassayre
Copy link
Member

For instance if the current selected page is the first one, then the left handside control buttons should be in disabled state.
This could also be implemented as an optional (configurable) behavior.

@FlorianCassayre FlorianCassayre added the enhancement New feature or request label Jul 28, 2020
@topless
Copy link
Member

topless commented Oct 27, 2020

In pagination also, the ... button, has no action either. Expected behaviour would be to activate a page in a "clever" middle of the results you are navigating.

Screenshot 2020-10-27 at 4 38 31 PM

@FlorianCassayre
Copy link
Member Author

As we discovered with Karolina, the pagination is all handled by Semantic-UI and unfortunately there aren't many props to control it... In ILS we wanted to disable the last page (button 462 from the above screenshot), again not possible without hacking it with CSS.
The solution is to completely rewrite the pagination using elementary components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants