mirror of
https://github.com/google/blockly.git
synced 2026-01-27 10:40:09 +01:00
fix: recreate dropdown div
This commit is contained in:
@@ -113,7 +113,7 @@ export interface PositionMetrics {
|
||||
* @internal
|
||||
*/
|
||||
export function createDom() {
|
||||
if (div) {
|
||||
if (document.querySelector('.blocklyDropDownDiv')) {
|
||||
return; // Already created.
|
||||
}
|
||||
div = document.createElement('div');
|
||||
|
||||
Reference in New Issue
Block a user