From c647b4257440bf1cd24e597d30d3c787b7edc58d Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Wed, 10 Jul 2019 09:56:34 +0200 Subject: [PATCH] Update simple.js --- core/modules/editor/engines/simple.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/editor/engines/simple.js b/core/modules/editor/engines/simple.js index bb77893d7..acd4bc3d2 100644 --- a/core/modules/editor/engines/simple.js +++ b/core/modules/editor/engines/simple.js @@ -122,6 +122,7 @@ SimpleEngine.prototype.handleInputEvent = function(event) { Handle a dom "focus" event */ SimpleEngine.prototype.handleFocusEvent = function(event) { + this.widget.cancelPopups(); if(this.widget.editFocusPopup) { $tw.popup.triggerPopup({ domNode: this.domNode,