Fixed #3754 - TreeTable: Column Resizing defect

pull/3758/head
Tuğçe Küçükoğlu 2023-03-16 17:23:54 +03:00
parent 205f53ec23
commit baf767f1f5
1 changed files with 3 additions and 3 deletions

View File

@ -718,7 +718,7 @@ export default {
this.columnResizing = true;
this.lastResizeHelperX = event.pageX - containerLeft + this.$el.scrollLeft;
this.bindColumnResizeEvents(event);
this.bindColumnResizeEvents();
},
onColumnResize(event) {
let containerLeft = DomHandler.getOffset(this.$el).left;
@ -791,9 +791,9 @@ export default {
}
}
},
bindColumnResizeEvents(event) {
bindColumnResizeEvents() {
if (!this.documentColumnResizeListener) {
this.documentColumnResizeListener = document.addEventListener('mousemove', () => {
this.documentColumnResizeListener = document.addEventListener('mousemove', (event) => {
if (this.columnResizing) {
this.onColumnResize(event);
}