Skip to content

Commit

Permalink
Fixed #3754 - TreeTable: Column Resizing defect
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Mar 16, 2023
1 parent 205f53e commit baf767f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/treetable/TreeTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit baf767f

Please sign in to comment.