Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Oct 3, 2025

Note

Fixes auto-tooltip overflow detection in ItemBase by measuring via an internal elementRef and properly forwarding/exposing external label refs.

  • ItemBase tooltip logic:
    • Switch overflow measurement from combined refs to internal elementRef used by ResizeObserver and checkLabelOverflow.
    • Properly forward external label refs via callback (function or .current) using externalLabelRef.
    • Replace observedElementRef with elementRef; update effect deps and cleanup accordingly.
    • Keep auto-tooltip behavior unchanged functionally, improving reliability of dynamic overflow checks.

Written by Cursor Bugbot for commit a54634d. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Oct 3, 2025

🦋 Changeset detected

Latest commit: a54634d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cube-ui-kit Ready Ready Preview Comment Oct 6, 2025 8:08am
cube-ui-kit-cursor Ready Ready Preview Comment Oct 6, 2025 8:08am

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-a63776e.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2025

🏋️ Size limit report

Name Size Passed?
All 299.41 KB (+0.01% 🔺) Yes 🎉
Tree shaking (just a Button) 32.07 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 19.39 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2025

🧪 Storybook is successfully deployed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant