[Bug]: Tooltip issue with large text without spaces #18161
Labels
component: tooltip
package: @carbon/web-components
@carbon/web-components
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
Package
@carbon/web-components
Browser
Chrome
Package version
@carbon/[email protected]
React version
No response
Description
When we use a component with tooltip that has a large text that does not have spaces it overflows in a weird way.
Can we have a way to format the tooltip content, maybe as part?
Or add "word-break: break-word" to .cds--tooltip-content?
Thanks
Reproduction/example
https://stackblitz.com/edit/github-srmfes?file=index.html
Steps to reproduce
Create a web component with a large tooltip text without spaces
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: