From 01ded4d17359434457ca33a76f99538895e5fa3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Go=C5=82aszewski?= Date: Thu, 17 Jan 2019 13:28:56 +0100 Subject: [PATCH] wip --- src/panel/balloon/contextualballoon.js | 6 ++++++ 1 file changed, 6 insertions(+) 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.