From 7af5c5147ac349c4f8596a246a9726d509192aa8 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 10 Jun 2019 15:38:34 -0700 Subject: [PATCH] Fixed dropdown div not fading in correctly. --- core/dropdowndiv.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/dropdowndiv.js b/core/dropdowndiv.js index b624b3448..c7cb54ba3 100644 --- a/core/dropdowndiv.js +++ b/core/dropdowndiv.js @@ -139,6 +139,8 @@ Blockly.DropDownDiv.createDom = function() { div.appendChild(arrow); Blockly.DropDownDiv.arrow_ = arrow; + Blockly.DropDownDiv.DIV_.style.opacity = 0; + // Transition animation for transform: translate() and opacity. Blockly.DropDownDiv.DIV_.style.transition = 'transform ' + Blockly.DropDownDiv.ANIMATION_TIME + 's, ' +