Pagination with zero total-items shows 0
as first page
#10275
Labels
0 - new
New issues that need assignment.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
Check existing issues
Actual Behavior
Given a
<calcite-pagination>
element with zerototalItems
, the page button shows0
and is not selected by default.Interestingly, at very narrow viewport widths, the
1
button appears along with arrow buttons which can be used to fast forward to the0
button.Expected Behavior
The page button shows
1
and is selected by default.It is not possible to navigate to the
0
button at narrow viewport widths.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/OJeqqyQ
Reproduction Steps
Reproduction Version
2.12.2
Relevant Info
No response
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
Extra consideration is required by the consumer to ensure the pagination component displays an empty state seamlessly.
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: