Open nwhittaker opened 2 months ago
Given a element with zero totalItems, clicking the page button computes a new startItem equal to pageSize - 1.
totalItems
startItem
pageSize - 1
Clicking the page button does not change the startItem or resets it to 1.
1
https://codepen.io/nwhittaker-esri/pen/XWLGGgb
0
start-item
2.12.2
Possibly superseded, or made moot by, https://github.com/Esri/calcite-design-system/issues/10275.
No response
impact - p2 - want for an upcoming milestone
Adds complexity to consumers by requiring them to externally track and share the corrected pagination state if they need page changes to be atomic.
ArcGIS Field Apps
Possibly related to a fix for https://github.com/Esri/calcite-design-system/issues/10275.
Check existing issues
Actual Behavior
Given a element with zero
totalItems
, clicking the page button computes a newstartItem
equal topageSize - 1
.Expected Behavior
Clicking the page button does not change the
startItem
or resets it to1
.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/XWLGGgb
Reproduction Steps
0
button and observe itsstart-item
attribute changes.Reproduction Version
2.12.2
Relevant Info
Possibly superseded, or made moot by, https://github.com/Esri/calcite-design-system/issues/10275.
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
Adds complexity to consumers by requiring them to externally track and share the corrected pagination state if they need page changes to be atomic.
Calcite package
Esri team
ArcGIS Field Apps