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

hyphen:auto can cause unexpected character wrapping #2841

Open
yloubry opened this issue Jun 12, 2024 · 3 comments
Open

hyphen:auto can cause unexpected character wrapping #2841

yloubry opened this issue Jun 12, 2024 · 3 comments
Assignees
Labels
bug Results from a bug in the CSS implementation jira ticket created

Comments

@yloubry
Copy link

yloubry commented Jun 12, 2024

Description

The use of hyphen:auto in .spectrum-Menu-itemDescription is causing text to wrap where it would otherwise get enough space to be displayed.
See -> https://jira.corp.adobe.com/browse/CCEX-114347

.spectrum-Menu-itemDescription {

Steps to reproduce

Please follow instruction from CCEX bug above using "French" locale

Expected behavior

No hyphen char break should be imposed to item list

Screenshots

image

Environment

  • Version of the impacted component(s):
  • Browser(s) and OS(s):

Additional context

@yloubry yloubry added the bug Results from a bug in the CSS implementation label Jun 12, 2024
@yloubry yloubry changed the title hyphen:auto can cause unexpected character wrapping for Non English language hyphen:auto can cause unexpected character wrapping Jun 12, 2024
@pfulton
Copy link
Collaborator

pfulton commented Jun 13, 2024

Thanks @yloubry! We're tracking this in Jira here: https://jira.corp.adobe.com/browse/CSS-799 - it's slated to be worked on in our next sprint which begins on Monday, June 17

@najikahalsema
Copy link
Collaborator

@yloubry Does the popover where this is occurring have a set width?

@yloubry
Copy link
Author

yloubry commented Sep 3, 2024

I believe it does yes. But not sure. I only notice that this CSS when active was creating the issue mentioned in this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Results from a bug in the CSS implementation jira ticket created
Projects
None yet
Development

No branches or pull requests

4 participants