-
Notifications
You must be signed in to change notification settings - Fork 355
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(Pagination): add offset example #9232
Conversation
Preview: https://patternfly-react-pr-9232.surge.sh A11y report: https://patternfly-react-pr-9232-a11y.surge.sh |
f33caba
to
1f71338
Compare
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.
lgtm other than the typo below
packages/react-core/src/components/Pagination/examples/Pagination.md
Outdated
Show resolved
Hide resolved
1f71338
to
54e0229
Compare
The change in |
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 will defer to others. I'm not really sure what this example is intended to illustrate, but seems to function as expected.
What: Closes #9231
when having a per_page=20, and offset is 20 (skip the first 20 items ,show item numbers 21,22,23...), page should be calculated to 2, but before this change it was calculated as 1