Skip to content

Calling showEditor on a dropdown M times shows the option list repeated M times #4933

@jschanker

Description

@jschanker

Describe the bug

Calling showEditor on a dropdown field M times consecutively results in the dropdown displaying the option list M times.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the Blockly playground.
  2. Drag in a math_arithmetic block.
  3. Enter workspace.getAllBlocks()[0].getField("OP").showEditor() multiple types in the Developer console.

Expected behavior

The list of displayed options should not be repeated if showEditor is called multiple times, consecutively.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions