mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Fixed dropdown div not fading in correctly.
This commit is contained in:
@@ -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, ' +
|
||||
|
||||
Reference in New Issue
Block a user