-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: paginationNav support high page counts #15219
Conversation
This commit updates PaginationNav to support high page counts. I add a prop to PaginationNav which short circuits logic causing present issue
DCO Assistant Lite bot All contributors have signed the DCO. |
I have read the DCO document and I hereby sign the DCO. |
recheck |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ideally the ...
would no longer be interactive and removed from the focus order, rather than a select without any options. As is, I think it would read oddly with screenreaders.
Could we just put disabled
on the select and also not render any items into the select?
@mbgower do you have any thoughts on what an ideal approach could be here? I'm not sure if we'd want the ellipsis to be focusable (and read) or not, and if disabled
would be enough.
@tay1orjones Thanks for quick review! I've made those requested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, I'm not sure we need to keep the new "Overflow Disabled" story you added, I think having the prop in the playground is probably enough. thoughts @tay1orjones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, I just updated the PR to remove the test story. Thanks again!
) * feat: paginationNav support high page counts This commit updates PaginationNav to support high page counts. I add a prop to PaginationNav which short circuits logic causing present issue * Update README.md * fix: code review * docs(paginationnav): remove test story --------- Co-authored-by: Alison Joseph <[email protected]> Co-authored-by: Andrea N. Cardona <[email protected]> Co-authored-by: Taylor Jones <[email protected]>
This commit updates PaginationNav to support high page counts. I add a prop to PaginationNav which short circuits logic causing present issue
Closes #15014
Changelog
New
disableOverflow
which fixes the problem elaborated on in the issue.Changed
disableOverflow
propRemoved
Testing / Reviewing