Background
In the current Select in Codex, the text wraps to a second line when the text exceeds the maximum of the first line. As decided in T359636: Define an approach to content overflow in Codex components, Select and Button will be maximum of one text line and will use an ellipsis in case the text exceeds. The entire text will be visible using a Tooltip.
| Current implementation | Proposal |
Previous implementations
- Codex demo: Select in Codex
- OOUI: Select in OOUI [does not provide truncation support]
Design spec
Open questions
- Our overflow guidelines for truncation with ellipsis state “Include tooltip support for truncated text, enabling users to access full”.
Tooltip is limited to pointer devices. We should expand the guidelines here.
Acceptance criteria (or Done)
Design
- Design the Figma spec sheet and add it in this task
- Update the component in the Codex Figma library. This step will be done by a DST member.
- Include this maximum limitation in the Select Guidelines
Code
- Fix Select component in Codex
- Ensure that full text is available as tooltip and aria-label(?)

