Opened 2 weeks ago
Last modified 2 weeks ago
#62513 new defect (bug)
Long first/last names without spaces break mobile view layout
Reported by: | sukhendu2002 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | low |
Severity: | minor | Version: | |
Component: | Users | Keywords: | has-screenshots has-patch has-testing-info |
Focuses: | ui, administration | Cc: |
Description
When a user has a long first name or last name without spaces, the layout in the mobile view of the WordPress site breaks.
Steps to Reproduce:
- Navigate to Users > Add New in WordPress admin
- Create a new user with a very long first name or last name without spaces
- View in mobile layout
Attachments (1)
Change History (6)
This ticket was mentioned in PR #7867 on WordPress/wordpress-develop by @sukhendu2002.
2 weeks ago
#1
- Keywords has-patch added
#2
@
2 weeks ago
- Keywords has-testing-info added
Hey @sukhendu2002, Thanks for raising this.
I can confirm the reproduction of this layout issue. Here's the detailed report:
Reproduction Report
Description
The mobile view layout breaks when user names contain long strings without spaces. The text overflows its container and creates horizontal scrolling issues.
Environment
- WordPress: 6.7.1
- PHP: 8.1
- Server: nginx/1.27.2
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
- Browser: Chrome 131.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
Steps to Reproduce
- Navigate to Users > Add New
- Create user with:
- First Name: LoremIpsumLoremIpsumLoremIpsumLoremIpsumLoremIpsumLoremIpsumLoremIpsum
- Last Name: LoremIpsumLoremIpsumLoremIpsumLoremIpsumLoremIpsumLoremIpsumLoremIpsum
- View profile page in mobile viewport (375px width)
Actual Results
✅ Layout breaks in mobile view
Supplemental Artifacts
#3
@
2 weeks ago
Reproduction Report
Description
This report validates whether the issue can be reproduced.
There is overflow of the text if the first name is long as suggested by @sukhendu2002
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.25
- Server: nginx/1.27.2
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
- Browser: Chrome 129.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Error condition occurs (reproduced).
Additional Notes
- Any additional details worth mentioning.
Supplemental Artifacts
#4
@
2 weeks ago
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/7867.diff
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.25
- Server: nginx/1.27.2
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.25)
- Browser: Chrome 129.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with patch.
Fixed the issue where long first/last names without spaces broke the mobile layout by overflowing their containers.
Trac ticket: https://core.trac.wordpress.org/ticket/62513