Make WordPress Core

Opened 2 years ago

Closed 22 months ago

#56322 closed defect (bug) (worksforme)

Gutenberg unitcontrol component blurs on change

Reported by: jflopezh's profile jflopezh Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Editor Keywords: close
Focuses: ui, accessibility, javascript Cc:

Description

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.

Change History (4)

#1 @sabernhardt
2 years ago

  • Component changed from Build/Test Tools to Editor
  • Keywords close added; needs-patch needs-testing removed

Hi and thanks for the report!

Gutenberg reports belong on the GitHub repository. Issue 39615 might be related (partially). Otherwise, could you open a new issue there?

Last edited 2 years ago by sabernhardt (previous) (diff)

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


2 years ago

This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.


22 months ago

#4 @joedolson
22 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

If you're still finding this to be an issue, please report it upstream in the Gutenberg repository, linked above. For now, we can't reproduce the scenario, so we're considering this closed.

Note: See TracTickets for help on using tickets.