[wp-trac] [WordPress Trac] #56322: Gutenberg unitcontrol component blurs on change
WordPress Trac
noreply at wordpress.org
Tue Aug 2 00:42:17 UTC 2022
#56322: Gutenberg unitcontrol component blurs on change
-------------------------------------+-------------------------------------
Reporter: jflopezh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: 6.0
Severity: normal | Keywords: needs-patch needs-
Focuses: ui, accessibility, | testing
javascript |
-------------------------------------+-------------------------------------
I'm developing a custom block, and in previous versions the UnitControl
component was working fine, I didn't change the code so I assume it was
the update that generates the error. Everytime I change the value on the
input, it blurs, so you can't enter more than one digit without clicking
again on the input. The on change function I have just updates the state
of the variable it controls, so again, I assume the code is not the
problem.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56322>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list