8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d358b32 commit 7e2f8c1Copy full SHA for 7e2f8c1
src/directives/repeat.js
@@ -237,6 +237,7 @@ module.exports = {
237
*/
238
239
diff: function (data, oldVms) {
240
+ var activeElement = document.activeElement
241
var idKey = this.idKey
242
var converted = this.converted
243
var anchor = this.anchor
@@ -331,6 +332,9 @@ module.exports = {
331
332
vm._new = false
333
vm._reused = false
334
}
335
+ if (activeElement) {
336
+ activeElement.focus()
337
+ }
338
return vms
339
},
340
0 commit comments