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 - Ability to disable navigation arrows based on custom conditions #10312

Open
jpuzz0 opened this issue Apr 29, 2024 · 0 comments
Open
Labels
Feature end user feature that requires design to define this, i.e. changes or augments the user experience. md

Comments

@jpuzz0
Copy link
Contributor

jpuzz0 commented Apr 29, 2024

Is this a new component or an extension of an existing one?
Existing - Pagination -> Navigation

Describe the feature
Ability to pass navigation props or an entirely custom Navigation component to the Pagination component that would allow users to disable forward and backward navigation icons based on a custom condition.

There is a use-case with a specific API/set of data in Openshift AI where no combination of itemCount & perPage gives us our desired behavior.

Any other information?
In the interim, we're currently adding/removing the disabled attribute for the "Next" pagination's navigation icon in a react effect by way of a querySelector.

@jpuzz0 jpuzz0 added the Feature end user feature that requires design to define this, i.e. changes or augments the user experience. label Apr 29, 2024
@tlabaj tlabaj added the md label May 2, 2024
@tlabaj tlabaj added this to the Prioritized Backlog milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature end user feature that requires design to define this, i.e. changes or augments the user experience. md
Projects
Status: Backlog
Development

No branches or pull requests

2 participants