Skip to content

Opening dropdown in a block in the flyout and switching categories causes js error #783

Closed
@picklesrus

Description

@picklesrus

When switching categories when a dropdown is open you get the following js error:

vertical.js:2842 Uncaught TypeError: Cannot read property 'isShadow' of null
at Blockly.FieldDropdown.onHide (vertical.js:2842)
at Function.Blockly.DropDownDiv.hide (vertical.js:2462)
at Blockly.Toolbox. (vertical.js:2973)
at HTMLDivElement.g (vertical.js:2784)

Steps to Reproduce

  1. open js console.
  2. Open motion category
  3. Open dropdown in the "point toward" block
  4. Without closing the dropdown , click on the "Events" category (probably others too).
  5. see error.

Operating System and Browser

Chrome MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions