Skip to content

Commit 1de9aa9

Browse files
authored
fix: Fix bug that caused blocks in flyout to disappear on click in Chrome (#9729)
1 parent 0e0a516 commit 1de9aa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/blockly/core/gesture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,8 @@ export class Gesture {
10041004
this.setTargetBlock(block.getParent()!);
10051005
} else {
10061006
this.targetBlock = block;
1007-
getFocusManager().focusNode(this.targetBlock);
10081007
this.targetBlock.bringToFront();
1008+
getFocusManager().focusNode(this.targetBlock);
10091009
}
10101010
}
10111011

0 commit comments

Comments
 (0)