Make kanban edit modal realtime

This commit is contained in:
yflory
2020-03-03 17:40:01 +01:00
parent c8cca35073
commit c42a7bff6f
2 changed files with 120 additions and 72 deletions

View File

@@ -64,7 +64,7 @@ define([
editor._noCursorUpdate = false;
editor.scrollTo(scroll.left, scroll.top);
if (!editor.state.focused) { return; }
if (!editor.hasFocus()) { return; }
if(selects[0] === selects[1]) {
editor.setCursor(posToCursor(selects[0], remoteDoc));