[wp-trac] [WordPress Trac] #63922: FontSizePicker incorrectly measures units for selecting elements
WordPress Trac
noreply at wordpress.org
Thu Sep 4 14:11:32 UTC 2025
#63922: FontSizePicker incorrectly measures units for selecting elements
---------------------------+------------------------------
Reporter: blackstar1991 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by yashjawale):
Hi @blackstar1991
Thanks for reporting the error, however, I'm not able to reproduce the
problem on my end. After selecting the predefined sizes I get px unit back
as expected
Also your problem looks more related to Gutenberg & perhaps can be better
discussed over there
https://github.com/WordPress/gutenberg/issues
Perhaps, you can provide more details so that this error can be reproduced
& then fixed consecutively
---
== Reproduction Report
=== Description
This report validates whether the issue can be reproduced.
=== Environment
- WordPress: 6.8.2
- PHP: 8.2.23
- Server: nginx/1.26.1
- Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.23)
- Browser: Chrome 139.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.3
- MU Plugins: None activated
- Plugins:
* FontSizePicker Unit Bug Replication 1.0.0
* Gutenberg 21.5.0
* Test Reports 1.2.0
=== Actual Results
1. ⚠️ Unable to reproduce problem -- more info needed
=== Additional Notes
- I tested the problem by spinning up a new plugin generated by AI, a
simple one that uses FontSizePicker component (Attaching the plugin file
to ticket)
- I also tried unitless mode of the component, where it falls back to px
by default, there too it was working as expected
=== Supplemental Artifacts
Screencast: https://files.catbox.moe/yfdzyi.mov
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63922#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list