Skip to content

Commit 1bc4dca

Browse files
chester0424zhangyao
andauthored
bugfix:table column width resize error (#353)
Co-authored-by: zhangyao <373933650@qq.com>
1 parent d0f65c4 commit 1bc4dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devui/data-table/table/head/th/th.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export class TableThComponent implements OnChanges, OnDestroy {
278278
this.resizing = false;
279279

280280
// destroy overlay
281-
this.renderer2.removeChild(this.element, this.resizeOverlay);
281+
this.renderer2.removeChild(this.element.firstElementChild, this.resizeOverlay);
282282

283283
this.renderer2.removeClass(this.tableViewRefElement.nativeElement, 'table-view-selector');
284284

0 commit comments

Comments
 (0)