fix(kpagination): lost highlight of visible pages on pageCount change
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.
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
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