If you look at our current Items per page example for the Pagination component and actually use it. You'll notice that if you're on the last page, and then change the # of items to show per page, the component soft breaks. As in the # of pages goes down, but the page you're on doesn't change, so no items are actually shown because you're now on a page that doesn't exist.
Other Info
This was recorded back when we had this example in Storybook. We don't have this example at this moment, please refer to #1680 for the code for an example.
Acceptance Criteria:
Current page should change to first page if items per page is changed
Info
If you look at our current
Items per page
example for the Pagination component and actually use it. You'll notice that if you're on the last page, and then change the # of items to show per page, the component soft breaks. As in the # of pages goes down, but the page you're on doesn't change, so no items are actually shown because you're now on a page that doesn't exist.Other Info
This was recorded back when we had this example in Storybook. We don't have this example at this moment, please refer to #1680 for the code for an example.
Acceptance Criteria: