-
Notifications
You must be signed in to change notification settings - Fork 2k
Labels
component: paginationneeds: community contributionDue to roadmap and resource availability, we are looking for outside contributions on this issue.Due to roadmap and resource availability, we are looking for outside contributions on this issue.package: @carbon/web-components@carbon/web-components@carbon/web-componentsrole: dev 🤖severity: 3https://ibm.biz/carbon-severityhttps://ibm.biz/carbon-severitystatus: help wanted 👐type: bug 🐛
Description
Package
@carbon/web-components
Browser
Chrome
Package version
2.36.0
React version
No response
Description
Creating a pagination element with page set to anything except 1 causes the page select to not be accurate.
<cds-pagination backward-text="Previous page" forward-text="Next page" items-per-page-text="Items per page:" page="5" page-size="10" size="sm" total-items="103">
<cds-select-item value="10">10</cds-select-item>
</cds-pagination>

Reproduction/example
https://stackblitz.com/edit/github-w5ayr5dd?file=index.html,src%2Findex.js,package.json
Steps to reproduce
Easiest way to reproduce is open devtools edit an element as html and paste the following
<cds-pagination backward-text="Previous page" forward-text="Next page" items-per-page-text="Items per page:" page="5" page-size="10" size="sm" total-items="103">
<cds-select-item value="10">10</cds-select-item>
</cds-pagination>
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems
Metadata
Metadata
Assignees
Labels
component: paginationneeds: community contributionDue to roadmap and resource availability, we are looking for outside contributions on this issue.Due to roadmap and resource availability, we are looking for outside contributions on this issue.package: @carbon/web-components@carbon/web-components@carbon/web-componentsrole: dev 🤖severity: 3https://ibm.biz/carbon-severityhttps://ibm.biz/carbon-severitystatus: help wanted 👐type: bug 🐛
Type
Projects
Status
🚦 In Review