fix layout scroll

This commit is contained in:
Yuri Kuznetsov
2023-07-10 17:51:25 +03:00
parent 1255dd0728
commit e833af4e9d

View File

@@ -461,7 +461,9 @@ define('views/admin/layouts/grid', ['views/admin/layouts/base'], function (Dep)
afterRender: function () {
this.makeDraggable();
this.$el.find('.enabled-well').focus();
let wellElement = /** @type {HTMLElement} */this.$el.find('.enabled-well').get(0)
wellElement.focus({preventScroll: true});
},
fetch: function () {