Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kpagination): ensure firstDetached consistency [KM-580] #2452

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

TT1228
Copy link
Contributor

@TT1228 TT1228 commented Oct 12, 2024

Summary

KM-580
When the currentPage is controlled for kpagination, it may behave differently from when there is no currentPage passed in and add unneeded ellipsis

Before:
image
After:
截屏2024-10-12 下午4 50 38

@CLAassistant
Copy link

CLAassistant commented Oct 12, 2024

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

netlify bot commented Oct 12, 2024

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit ffca0c4
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/670a324b52bda600082567e1
😎 Deploy Preview https://deploy-preview-2452--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.

Copy link

netlify bot commented Oct 12, 2024

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit ffca0c4
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/670a324b5fa17e00089d5d85
😎 Deploy Preview https://deploy-preview-2452--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.

@TT1228 TT1228 marked this pull request as ready for review October 12, 2024 08:54
Copy link
Contributor

@Justineo Justineo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TT1228 TT1228 merged commit 18a2e3a into main Oct 15, 2024
11 checks passed
@TT1228 TT1228 deleted the fix/KM-580 branch October 15, 2024 09:58
kongponents-bot pushed a commit that referenced this pull request Oct 15, 2024
## [9.11.4](v9.11.3...v9.11.4) (2024-10-15)

### Bug Fixes

* **kpagination:** ensure firstDetached consistency [KM-580] ([#2452](#2452)) ([18a2e3a](18a2e3a))
@kongponents-bot
Copy link
Collaborator

🎉 This PR is included in version 9.11.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kongponents-bot
Copy link
Collaborator

Preview package from this PR in consuming application

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

@kong/kongponents@pr-2452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants