diff --git a/list-editor/index.js b/list-editor/index.js index fdfd3c8..8dd00a6 100644 --- a/list-editor/index.js +++ b/list-editor/index.js @@ -507,6 +507,10 @@ function editor(root, inputData, options) { trigger('change') } + _.defer(() => { + $('.list-item.selected')[0].scrollIntoView({behavior: "smooth", block: "nearest"}) + }) + cursor.resetLastMove() return false