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

Adds matchAnchorWidth to FloatingUI components #317

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Aug 31, 2023

Adds matchAnchorWidth support to FloatingUI components to set popover widths relative to their anchors. The basic invocation is @matchAnchorWidth={{true}} but you can also pass in a {{hash}} with enabled and additionalWidth properties for more control. (See the Search component for an example.)

@jeffdaley jeffdaley requested a review from a team as a code owner August 31, 2023 15:54
@jeffdaley jeffdaley added enhancement New feature or request and removed enhancement New feature or request labels Sep 1, 2023
Copy link
Contributor

@jfreda jfreda left a comment

Choose a reason for hiding this comment

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

Nice

@jeffdaley jeffdaley merged commit f9c16f5 into main Sep 1, 2023
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/match-anchor-width branch September 1, 2023 20:03
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.

None yet

2 participants