kongponents icon indicating copy to clipboard operation
kongponents copied to clipboard

fix(kpagination): lost highlight of visible pages on pageCount change

Open schogges opened this issue 10 months ago • 4 comments

When the pageCount (total items) changes and the current page is higher than the first pages, the component sets the visible pages back to the first pages.


I've added a button to the sandbox to randomly update the total count for easier repro. To actually repro just undo the changes in src/components/KPagination/KPagination.vue. This should then show the first pages only and no active pagination button.

schogges avatar Feb 13 '25 15:02 schogges

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 13 '25 15:02 CLAassistant

Deploy Preview for kongponents-sandbox ready!

Name Link
Latest commit 66b178ed730c81ad2f9fe7314dfdc4d853421c50
Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/68089427dab31800089b08be
Deploy Preview https://deploy-preview-2616--kongponents-sandbox.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 13 '25 15:02 netlify[bot]

Deploy Preview for kongponents ready!

Name Link
Latest commit 66b178ed730c81ad2f9fe7314dfdc4d853421c50
Latest deploy log https://app.netlify.com/sites/kongponents/deploys/68089427678f4b0008e91911
Deploy Preview https://deploy-preview-2616--kongponents.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 13 '25 15:02 netlify[bot]

Preview package from this PR in consuming application

In consuming application project install preview version of kongponents generated by this PR:

@kong/kongponents@pr-2616

kongponents-bot avatar Apr 23 '25 07:04 kongponents-bot