From f9cd22d908ddfbfb09dd8ef0b6d033b1f32f18d1 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 15 Jan 2019 15:43:10 +0100 Subject: [PATCH] Added a comment explaining why we need the delay --- .../src/common/services/editor.service.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js b/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js index c495c4e7a1..721efe251c 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js @@ -245,7 +245,9 @@ When building a custom infinite editor view you can use the same components as a // emit event to let components know an editor has been removed eventsService.emit("appState.editors.close", args); - + + // delay required to map the properties to the correct editor due + // to another delay in the closing animation of the editor $timeout(function() { // rebind keyboard shortcuts for the new editor in focus rebindKeyboardShortcuts();