diff --git a/src/panel/balloon/contextualballoon.js b/src/panel/balloon/contextualballoon.js index 1f43c670..5f12c7d6 100644 --- a/src/panel/balloon/contextualballoon.js +++ b/src/panel/balloon/contextualballoon.js @@ -86,6 +86,12 @@ export default class ContextualBalloon extends Plugin { this.editor.ui.focusTracker.add( this.view.element ); } + destroy() { + super.destroy(); + + // this._stack.clear(); + } + /** * Returns the currently visible view or `null` when there are no * views in the stack.