Skip to content

[MenuItem] hyphen:auto can cause unexpected character wrapping #2841

Open
@yloubry

Description

@yloubry

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

Activity

added
bugResults from a bug in the CSS implementation
on Jun 12, 2024
changed the title [-]hyphen:auto can cause unexpected character wrapping for Non English language[/-] [+]hyphen:auto can cause unexpected character wrapping[/+] on Jun 12, 2024
pfulton

pfulton commented on Jun 13, 2024

@pfulton
Collaborator

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

najikahalsema commented on Aug 26, 2024

@najikahalsema
Collaborator

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

yloubry

yloubry commented on Sep 3, 2024

@yloubry
Author

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

changed the title [-]hyphen:auto can cause unexpected character wrapping[/-] [+][MenuItem] hyphen:auto can cause unexpected character wrapping[/+] on Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugResults from a bug in the CSS implementationjira ticket created

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    [MenuItem] hyphen:auto can cause unexpected character wrapping · Issue #2841 · adobe/spectrum-css