Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#56322 closed defect (bug) (worksforme)

Gutenberg unitcontrol component blurs on change

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

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
4 years ago

  • Component Build/Test Tools → 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 4 years ago by sabernhardt (previous) (diff)

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


4 years ago

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


4 years ago

#4 @joedolson
4 years ago

  • Milestone Awaiting Review
  • Resolution → worksforme
  • Status new → 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.