Skip to content

Conversation

tenphi
Copy link
Member

@tenphi tenphi commented Oct 3, 2025

Note

Refactors auto-tooltip overflow detection to use an internal element ref and properly forward external label refs via callback, tightening observer lifecycle.

  • ItemBase useAutoTooltip:
    • Replace useCombinedRefs with explicit external ref forwarding: call labelProps.ref in handleLabelElementRef and manage internal elementRef.
    • Use elementRef for overflow checks; simplify checkLabelOverflow deps.
    • Rework ResizeObserver wiring: recreate/disconnect on node changes; store in resizeObserverRef.
    • Cleanup updates: null out elementRef on unmount.
    • Minor renames (observedElementRef -> elementRef), dependency list updates, and ref prop removal preserved in finalLabelProps.

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

Copy link

changeset-bot bot commented Oct 3, 2025

⚠️ No Changeset found

Latest commit: 4437379

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

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 3, 2025 3:20pm
cube-ui-kit-cursor Ready Ready Preview Comment Oct 3, 2025 3:20pm

Copy link
Contributor

github-actions bot commented Oct 3, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-4dcf451.

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

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