diff --git a/core/field_dropdown.js b/core/field_dropdown.js index ea760d90b..569c8a918 100644 --- a/core/field_dropdown.js +++ b/core/field_dropdown.js @@ -315,6 +315,9 @@ FieldDropdown.prototype.showEditor_ = function(opt_e) { } else { this.menu_.openingCoords = null; } + + // Remove any pre-existing elements in the dropdown. + Blockly.DropDownDiv.clearContent(); // Element gets created in render. this.menu_.render(DropDownDiv.getContentDiv()); const menuElement = /** @type {!Element} */ (this.menu_.getElement());