-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add alignment to the Carbon's tooltip component #3837
Comments
just want to double check with @carbon-design-system/design that we want to support this in the interactive tooltip (we currently only support this functionality in definition and icon tooltips) |
Yes, I think if we're doing it for the other two types of tooltips then we should do it for interactive tooltip as well. |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
not stale |
Has there been any progress on this? I'd like this functionality as well! |
The problem
The tooltip overflows a parent modal when the tooltip label is near the edge of that modal.
This restricts the designer to place the label away from the edges of a parent container.
The solution
The tooltip component should accept a default prop to align its tooltip to the start / centre / or end of the tooltip label (just like the tooltipDefinition component).
The caret should always point to the centre of the tooltip label.
Additional information
This can be a partly fix for the above scenario, because the other part of it is when the label is in the end of a line within a container (when the default alignment is set to ‘start’).
The text was updated successfully, but these errors were encountered: