Skip to content

Clicking outside of Blockly area doesn't update the field value inside the block #8868

@Joost-Jens-Luminis

Description

@Joost-Jens-Luminis

Check for duplicates

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

Description

When the user is editing a field, and clicks outside of the blockly area, the CHANGE event is not fired.

I expect the change event to be fired, or for there to be a way to request blockly to lose focus of the text field and update it's value in the block. The behaviour should be similar to how Blockly works if you click inside the workspace.

Reproduction steps

  1. There is a block on in the Workspace with a text field.
  2. The user begins editing the text field (it select the field)
  3. When the user is done editing, it clicks outside the blockly area (for example on a button)

Result:
The text field is still shown as being edited and the internal block is not yet updated with the new value. No CHANGE even is fired either.

Stack trace

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugDescribes why the code or behaviour is wrong

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions