Skip to content
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

[DROPDOWN OVERFLOW TEXT TOOLTIP WEB-COMPONENTS]: when the text is too long in web-component dropdown item it goes overflow with ... #11788

Open
2 tasks done
DoofisS opened this issue May 14, 2024 · 0 comments
Labels
Feature request A new adopter requested feature

Comments

@DoofisS
Copy link

DoofisS commented May 14, 2024

The problem

When the text is too long in dropdown web-component item it goes overflow with "..." so we can't see the end of the big sentence or a long text
On the screenshoot im hovering on the option with the long text
image

link to example:
https://web-components.carbondesignsystem.com/?path=/story/components-dropdown--default

The solution

It can be solved the same way as in react components by adding tooltip with the full text if the text go overflow On the screenshot im hovering on the option with the long text
image

link to example:
https://react.carbondesignsystem.com/?path=/story/components-dropdown--default

Application/website

Any propject with dropdown

Business priority

Medium Priority = upcoming release but is not pressing

What time frame would this ideally be needed by (if applicable)

Priority is up to you but I think this is something very useful and can help a lot for any person coding or using dropdown in any project that use carbon design system)

Examples

No response

Code of Conduct

@DoofisS DoofisS added the Feature request A new adopter requested feature label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request A new adopter requested feature
Projects
Status: No status
Development

No branches or pull requests

1 participant