Skip to content

Commit

Permalink
* dtable: support for resizing last col in left section.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Jul 29, 2024
1 parent f36ae92 commit 9679723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dtable/src/plugins/resize/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const resizePlugin: DTablePlugin<DTableResizeTypes, [DTableMousemoveTypes]> = {
if (!col) {
return;
}
if (col.sideIndex === this.layout.cols[col.side].list.length - 1) {
if (col.side !== 'left' && col.sideIndex === this.layout.cols[col.side].list.length - 1) {
return;
}
let colResize = col.setting.colResize ?? this.options.colResize;
Expand Down

0 comments on commit 9679723

Please sign in to comment.