Skip to content

Comments

feat(ui): added anchor prop to Popover, Tooltip, and PreviewCard components#675

Merged
pasqualevitiello merged 5 commits intomainfrom
pasquale/cui-118-add-anchor-prop-to-components-with-positioner
Feb 13, 2026
Merged

feat(ui): added anchor prop to Popover, Tooltip, and PreviewCard components#675
pasqualevitiello merged 5 commits intomainfrom
pasquale/cui-118-add-anchor-prop-to-components-with-positioner

Conversation

@pasqualevitiello
Copy link
Contributor

@pasqualevitiello pasqualevitiello commented Feb 9, 2026

Summary by cubic

Added an optional anchor prop to overlay components (Linear CUI-118) so popups can position relative to a custom element, not just the trigger. This improves placement control in complex layouts and chips-based inputs.

  • New Features
    • Popover, Tooltip, PreviewCard, Menu, Select, Autocomplete, and Combobox popups now accept anchor and pass it to Positioner.
    • Combobox defaults anchor to the chips container when available to keep the popup aligned with selected chips.
    • Registry snippets and public docs JSON rebuilt after merging with main; behavior is unchanged unless anchor is provided.

Written for commit 5dd56f3. Summary will update on new commits.

@vercel
Copy link

vercel bot commented Feb 9, 2026

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

Project Deployment Actions Updated (UTC)
coss-com Ready Ready Preview, Comment Feb 13, 2026 11:45am
coss-com-ui Ready Ready Preview, Comment Feb 13, 2026 11:45am
coss-examples-calcom Ready Ready Preview, Comment Feb 13, 2026 11:45am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
coss-com-origin Skipped Skipped Feb 13, 2026 11:45am

Request Review

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 21 files

Copy link
Contributor

@sean-brydon sean-brydon left a comment

Choose a reason for hiding this comment

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

I love these with anchors!

devin-ai-integration bot and others added 2 commits February 13, 2026 11:35
Co-Authored-By: pasquale@cal.com <pasqualevitiello@gmail.com>
Co-Authored-By: pasquale@cal.com <pasqualevitiello@gmail.com>
devin-ai-integration bot and others added 2 commits February 13, 2026 11:44
Co-Authored-By: pasquale@cal.com <pasqualevitiello@gmail.com>
Co-Authored-By: pasquale@cal.com <pasqualevitiello@gmail.com>
@vercel vercel bot temporarily deployed to Preview – coss-com-origin February 13, 2026 11:44 Inactive
@pasqualevitiello pasqualevitiello merged commit 52d5776 into main Feb 13, 2026
15 checks passed
@pasqualevitiello pasqualevitiello deleted the pasquale/cui-118-add-anchor-prop-to-components-with-positioner branch February 13, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants