Skip to content

Commit

Permalink
Table: fix when used in a dialog, closing the dialog will trigger a r…
Browse files Browse the repository at this point in the history
…esize. the fixed column height will be calculated incorrectly
  • Loading branch information
YY committed Oct 8, 2021
1 parent 492ab00 commit 11caab9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/table/src/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@
}
if (shouldUpdateLayout) {
// FIX: When used in a dialog, closing the dialog will trigger a resize. the fixed column height will be calculated incorrectly
if (!width && !height) {
return;
}
this.resizeState.width = width;
this.resizeState.height = height;
this.doLayout();
Expand Down

0 comments on commit 11caab9

Please sign in to comment.