Skip to content

Returning ephemeral focus moves focus to the toolbox #8950

@rachel-fenichel

Description

@rachel-fenichel

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

Sometimes returning ephemeral focus from a text editing field opens the flyout or moves focus to the most recently opened toolbox category.

Reproduction steps

  1. Open the blockly playground
  2. Drag in a block with text fields (e.g. 1+1)
  3. Click on a text field
  4. Click on the workspace
  5. Observe that the flyout is not focused
  6. Click on a text field
  7. Type text and hit Enter to confirm
  8. Observe that the flyout opens and that the focus rectangle moves to a toolbox category
  9. Click on the workspace to close the flyout
  10. Click on the text field
  11. Click on the workspace
  12. Observe that the focus rectangle moves to a toolbox category

Screenshots

Image

Metadata

Metadata

Labels

issue: bugDescribes why the code or behaviour is wrong

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions