diff --git a/core/field_angle.js b/core/field_angle.js index ef6f90977..0b1e4d865 100644 --- a/core/field_angle.js +++ b/core/field_angle.js @@ -172,9 +172,6 @@ Blockly.FieldAngle.prototype.showEditor_ = function() { // Mobile browsers have issues with in-line textareas (focus & keyboards). Blockly.FieldAngle.superClass_.showEditor_.call(this, noFocus); - // If there is an existing drop-down someone else owns, hide it immediately and clear it. - Blockly.DropDownDiv.hideWithoutAnimation(); - Blockly.DropDownDiv.clearContent(); var div = Blockly.DropDownDiv.getContentDiv(); // Build the SVG DOM. diff --git a/core/field_colour.js b/core/field_colour.js index c76b5612f..1847bb9a9 100644 --- a/core/field_colour.js +++ b/core/field_colour.js @@ -285,10 +285,6 @@ Blockly.FieldColour.prototype.setColumns = function(columns) { * @private */ Blockly.FieldColour.prototype.showEditor_ = function() { - - Blockly.DropDownDiv.hideWithoutAnimation(); - Blockly.DropDownDiv.clearContent(); - var picker = this.createWidget_(); Blockly.DropDownDiv.getContentDiv().appendChild(picker); Blockly.DropDownDiv.setColour( diff --git a/core/field_date.js b/core/field_date.js index c9cddc29f..760352403 100644 --- a/core/field_date.js +++ b/core/field_date.js @@ -198,9 +198,6 @@ Blockly.FieldDate.prototype.updateEditor_ = function() { * @private */ Blockly.FieldDate.prototype.showEditor_ = function() { - Blockly.DropDownDiv.hideWithoutAnimation(); - Blockly.DropDownDiv.clearContent(); - this.picker_ = this.createWidget_(); this.picker_.render(Blockly.DropDownDiv.getContentDiv()); Blockly.utils.addClass(this.picker_.getElement(), 'blocklyDatePicker');