Fixed dropdown div not fading in correctly.

This commit is contained in:
Beka Westberg
2019-06-10 15:38:34 -07:00
parent 153817eaee
commit 7af5c5147a

View File

@@ -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, ' +