Opened 5 weeks ago
Closed 4 weeks ago
#65060 closed defect (bug) (fixed)
Formatting issue on expand/collapse meta box area focus
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Formatting | Keywords: | admin-reskin has-patch dev-reviewed |
| Focuses: | Cc: |
Description
When a meta box expand/collapse button has focus, the formatting looks off. The radius is a bit too big for the height available.
Attachments (2)
Change History (12)
This ticket was mentioned in PR #11550 on WordPress/wordpress-develop by @wildworks.
5 weeks ago
#2
- Keywords has-patch added
@darshitrajyaguru97 commented on PR #11550:
5 weeks ago
#5
I have tested the patch using WordPress Playground in Google Chrome on a Windows system, including areas such as editor metaboxes and dashboard widgets. Based on my testing, the issue appears to be resolved, and the patch is working as expected. 👍
#6
@
5 weeks ago
- Keywords needs-testing removed
Test Report
Description
This report validates that the indicated patch works as expected.
Patch tested: https://patch-diff.githubusercontent.com/raw/WordPress/wordpress-develop/pull/11550.diff
Environment
- WordPress: 7.1-alpha-62161-src
- PHP: 8.3.30
- Server: nginx/1.29.8
- Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
- Browser: Firefox 149.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- Plugins:
- Classic Editor 1.6.7
- Test Reports 1.2.0
Actual Results
✅ Issue resolved with the patch. The focus ring on the button now renders correctly, and the ring sits flush within the button boundary without overflowing.
Patch works correctly in the Classic Editor as well. Meta box expand/collapse focus styling renders properly in both the block editor and the Classic Editor plugin (v1.6.7).
Supplemental Artifacts
Block editor - before patch
Block editor - after patch
Classic editor - before patch
Classic editor - after patch
#7
@
5 weeks ago
- Owner set to wildworks
- Resolution set to fixed
- Status changed from new to closed
In 62232:
#8
@
5 weeks ago
- Keywords dev-feedback added
- Resolution fixed deleted
- Status changed from closed to reopened




Thanks for the report. I believe this problem was caused by #64644. This is because #64644 changed the focused state as follows:
From:
.postbox .handle-order-higher:focus, .postbox .handle-order-lower:focus, .postbox .handlediv:focus { box-shadow: inset 0 0 0 2px #2271b1; }To:
.postbox .handle-order-higher:focus, .postbox .handle-order-lower:focus, .postbox .handlediv:focus { box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color); }Note that the
insethas been removed.