Skip to content

Commit

Permalink
Fixed #1311 - DataTable State: columnwidths are not restored correctl…
Browse files Browse the repository at this point in the history
…y when using scrollable and resizableColumns props
  • Loading branch information
tugcekucukoglu committed Aug 12, 2021
1 parent de8b8fc commit 5243d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export default {
}
},
mounted() {
if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader')) {
if (this.scrollable && (this.scrollDirection !== 'vertical' || this.rowGroupMode === 'subheader' || !this.resizableColumns)) {
this.updateScrollWidth();
}
Expand Down

0 comments on commit 5243d5b

Please sign in to comment.