From 7199e0c1da3ff4e22b34bdaf59fb3378ee51ef3a Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Thu, 12 Aug 2021 00:01:54 +0200 Subject: [PATCH] Start in normal mode with first item selected --- list-editor/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/list-editor/index.js b/list-editor/index.js index bfff6b5..9b620c2 100644 --- a/list-editor/index.js +++ b/list-editor/index.js @@ -139,12 +139,13 @@ function editor(root, inputData, options) { } function start() { + root.focus(); disableDragging(drake) render(root, store); drake = enableDragging(root) cursor.set(0) - startEditing(root, store, cursor) + trigger('change') } function getChildren(id) {