Return focus to the workspace after hiding a widget or dropdown div (#3447)

This commit is contained in:
Sam El-Husseini
2019-11-15 10:57:29 -08:00
committed by GitHub
parent 139382e009
commit cff8e19699
2 changed files with 4 additions and 0 deletions

View File

@@ -97,6 +97,8 @@ Blockly.WidgetDiv.hide = function() {
Blockly.WidgetDiv.dispose_ = null;
Blockly.WidgetDiv.DIV.innerHTML = '';
}
Blockly.getMainWorkspace().markFocused();
};
/**