carbon
carbon copied to clipboard
[Bug]: ellipses do not show for truncated combobox selections
Package
@carbon/react
Browser
Chrome
Package version
@carbon/react 1.9.0
React version
17.0.2
Description
When a combobox selection label is longer than the parent containers allowed width the text is cut off but no ellipses are shown, they are shown for Dropdown components:
Reproduction/example
https://codesandbox.io/s/funny-shockley-s26b6j?file=/src/App.js
Steps to reproduce
open the sandbox and compare how the combobox and dropdown components render their selected items
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate problems