diff --git a/assets/js/focus_on_update/index.js b/assets/js/focus_on_update/index.js index cf2c260bc..4c02e3eb8 100644 --- a/assets/js/focus_on_update/index.js +++ b/assets/js/focus_on_update/index.js @@ -7,7 +7,9 @@ const FocusOnUpdate = { }, updated() { - this.__focus(); + if (this.el !== document.activeElement) { + this.__focus(); + } }, __focus() {