Skip to content

Commit c8107a1

Browse files
Call Blockly.hidechaff when focusing the workspace
This hides the flyout if open
1 parent 30e06a2 commit c8107a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webapp/src/blocks.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ export class Editor extends toolboxeditor.ToolboxEditor {
855855
const accessibleBlocksEnabled = data.getData<boolean>(auth.ACCESSIBLE_BLOCKS)
856856
if (accessibleBlocksEnabled) {
857857
(this.editor.getSvgGroup() as SVGElement).focus();
858+
Blockly.hideChaff();
858859
}
859860
}
860861

0 commit comments

Comments
 (0)