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

Data not being updated correctly #7215

Open
britt6612 opened this issue Apr 25, 2024 · 0 comments
Open

Data not being updated correctly #7215

britt6612 opened this issue Apr 25, 2024 · 0 comments
Labels
bug issue that does not match design or documentation and requires code changes to address

Comments

@britt6612
Copy link
Collaborator

Expected Behavior

I expect that if you click on the last page in pagination than change your items per page it should load to show page 1 on its own

Actual Behavior

I expect that if you click on the last page in pagination than change your items per page you have to manually click on page 1 to see the correct data.

If you go to the following story
https://storybook.grommet.io/?path=/story/data-data-onselect--on-select
Then click on the last page in pagination then change the items per page to 100 then it keeps you on the last page where you can not see data. You have to click back on page 1.

URL, screen shot, or Codepen exhibiting the issue

Steps to Reproduce

  1. https://storybook.grommet.io/?path=/story/data-data-onselect--on-select
  2. click on last page in pagination 21
  3. change items per page to 100
  4. see no data in the DataTable
  5. have to click back on page 1

Your Environment

  • Grommet version:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):
@britt6612 britt6612 added the bug issue that does not match design or documentation and requires code changes to address label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue that does not match design or documentation and requires code changes to address
Projects
None yet
Development

No branches or pull requests

1 participant