-
Notifications
You must be signed in to change notification settings - Fork 77
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: floating ui elements set max-content for inline-size #11095
fix: floating ui elements set max-content for inline-size #11095
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨🚀✨
> | ||
${contentHTML} | ||
</calcite-popover> | ||
<div style="width: 800px; height:800px;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that would be very helpful. We already do variations of this for some components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet. I'll create an issue for this.
**Related Issue:** #10731 ## Summary - Follows [`floating-ui`'s initial layout recommendation](https://floating-ui.com/docs/computeposition#initial-layout). - Combobox wasn't correctly handling the size when in fixed overlay positioning - Example: https://codepen.io/Matt-Driscoll/pen/raByNmQ?editors=1010 - updated tooltip and popover stories where stories were being cut off due to sizing. BEGIN_COMMIT_OVERRIDE END_COMMIT_OVERRIDE
Related Issue: #10731
Summary
floating-ui
's initial layout recommendation.BEGIN_COMMIT_OVERRIDE
END_COMMIT_OVERRIDE