Page MenuHomePhabricator

MenuItem: Word wrapping doesn't work in Firefox and Safari
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The long word does not break with a hyphen as it should. Instead, it extends to its full width and, at certain viewport widths, overlaps with the border of the demo pane

Firefox:

image.png (468×1 px, 61 KB)

Safari:

image.png (454×1 px, 54 KB)

What should have happened instead?:

The word should break with a hyphen. Here's what it looks like in Chrome:

image.png (534×1 px, 66 KB)

Software version (skip for WMF-hosted wikis like Wikipedia): Codex main

Other information (browser name/version, screenshots, etc.): Firefox 114.0, Safari 16.5

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Catrope triaged this task as Medium priority.Aug 28 2023, 7:04 PM
AnneT set the point value for this task to 1.

Change 969144 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[design/codex@main] MenuItem: Ensure proper hyphenation and wrapping of long words

https://gerrit.wikimedia.org/r/969144

Change 969144 merged by jenkins-bot:

[design/codex@main] MenuItem: Ensure proper hyphenation and wrapping of long words

https://gerrit.wikimedia.org/r/969144

Change 972687 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Codex from v1.0.0 to v1.0.1

https://gerrit.wikimedia.org/r/972687

Change 972687 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v1.0.0 to v1.0.1

https://gerrit.wikimedia.org/r/972687