diff --git a/src/flyout_checkbox_icon.ts b/src/flyout_checkbox_icon.ts index 36d273b97a..29878f1f31 100644 --- a/src/flyout_checkbox_icon.ts +++ b/src/flyout_checkbox_icon.ts @@ -15,7 +15,7 @@ export class FlyoutCheckboxIcon implements Blockly.IIcon, Blockly.IHasBubble { private type = new Blockly.icons.IconType("checkbox"); constructor(private sourceBlock: Blockly.BlockSvg) { - if (this.sourceBlock.workspace.isFlyout) { + if (this.sourceBlock.workspace.isFlyout && !this.sourceBlock.getParent()) { this.checkboxBubble = new CheckboxBubble(this.sourceBlock); } }