infor-design / enterprise

Enterprise-grade component library for the Infor Design System
https://design.infor.com
Apache License 2.0
134 stars 81 forks source link

IdsDatagrid: Page Navigation ids-data-grid #8897

Open forrestmcclain opened 3 months ago

forrestmcclain commented 3 months ago

Describe the bug When navigating between pages, we are seeing an issue where all of the data of one page is being duplicated on another

To Reproduce Load datagrid. Navigate to page 2 using the next page button. Then Navigate to page 1 using the previous page button.

Steps to reproduce the behavior:

  1. Go to view the grid
  2. Click on next page
  3. Click to go back to the previous page
  4. See error

Expected behavior When switching pages, the data should be the set of data for that page and not another page

Version 1.2.0 (Note we did not see this issue on 1.0.0, but I believe this is occurring on 1.3.0 as well)

Screenshots image image image image image

First Element being overwritten when Switching pages image image image image

Platform

tmcconechy commented 3 months ago

@forrestmcclain do we need an example for this? can plug it in here https://stackblitz.com/edit/ids-enterprise-wc-130?file=index.html

Or can you reproduce on any pager examples https://main.wc.design.infor.com/ids-data-grid/

forrestmcclain commented 3 months ago

I can't reproduce on the examples. What do you mean by "do we need an example for this? "

tmcconechy commented 3 months ago

@forrestmcclain Sorry, What i really mean is how can we reproduce? In the steps i saw "View the grid" but unsure where to go or how to put together an example.

a) can we reproduce it with our example following some steps? b) or can you put together one and add to the issue?