-
Hi, I currently have an Anchor inside of a Popover. However, because the Anchor cannot fit in one line, the focus box has weird behavior. Changing the Popover width would allow the Anchor to be on one line and fix this problem, but the documentation shows that the Popover width is not modifiable. Is there a way to change the width of a Popover? And if not, is there a reason for this behavior? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @chleung-1 You have bumped into two known issues unfortunately. We already have a story in the backlog to revisit external links in anchors, specifically when the text is long, and wraps on multiple lines. Generally that should work with out you needing to modify the container width. With regards to the Popover, we have noted a few times now that the width might be a little on the small size for most use cases. I might tag in @twilio-labs/design-systems-pd to see if that's on the radar for an up coming design tweak? Specifically on the why we don't allow changing the width, there are two considerations:
In the meantime I don't have the best answer for you. We will try and prioritize getting to at least one of these as soon as we can. |
Beta Was this translation helpful? Give feedback.
-
Just following up, Anchors are fixed so they wrap and focus correctly. Still no updates on adjustable width popovers yet. |
Beta Was this translation helpful? Give feedback.
Hi @chleung-1
You have bumped into two known issues unfortunately.
We already have a story in the backlog to revisit external links in anchors, specifically when the text is long, and wraps on multiple lines. Generally that should work with out you needing to modify the container width.
With regards to the Popover, we have noted a few times now that the width might be a little on the small size for most use cases. I might tag in @twilio-labs/design-systems-pd to see if that's on the radar for an up coming design tweak?
Specifically on the why we don't allow changing the width, there are two considerations: