-
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
fix(ListBox): add title attribute to selected item #9399
fix(ListBox): add title attribute to selected item #9399
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: dc4a9d3 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/6124b77188f2cf0008d07400 😎 Browse the preview: https://deploy-preview-9399--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: dc4a9d3 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/6124b771d4d6de00078bdd65 😎 Browse the preview: https://deploy-preview-9399--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: dc4a9d3 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/6124b7710966ec0007124fb3 😎 Browse the preview: https://deploy-preview-9399--carbon-components-react.netlify.app |
Is it possible for non-mouse users to see the full list item label somehow or is it also truncated in the listbox? |
@dakahn doesn't seem like it, this just matches the list menu experience (which also doesn't have a way for a non-mouse user to view the truncated text). A longer-term solution should be created in a separate issue and would need to be implemented consistently throughout the components |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@tw15egan i'll bang out a ticket |
@tw15egan is this ready to be merged? :) |
c65bd0b
to
dc4a9d3
Compare
Closes #9397
Adds title attribute so that long text can be revealed when it is the currently selected item
Changelog
New
title
attribute to the selected itemspan
/input
Testing / Reviewing
Pick the text the longest text/text that is truncated. When the Dropdown / Combobox is closed, ensure the text is shown on hover