[FIX] web: column resize trying to freeze the list
Before this commit, resizing a column would cause the list to develop a mind of its own and to grow/shrink random columns according to its own will. Now, resizing a column does not "freeze" the list anymore and simply gives a static width to the resized column.
This commit is contained in:
committed by
Aaron Bohy
parent
d2f024d254
commit
d99e80f92a
@@ -1534,8 +1534,6 @@ ListRenderer.include({
|
||||
|
||||
const table = this.el.getElementsByTagName('table')[0];
|
||||
const th = ev.target.closest('th');
|
||||
// Freeze the whole table width
|
||||
this._freezeColumnWidths();
|
||||
table.style.width = `${table.offsetWidth}px`;
|
||||
const thPosition = [...th.parentNode.children].indexOf(th);
|
||||
const resizingColumnElements = [...table.getElementsByTagName('tr')]
|
||||
|
||||
Reference in New Issue
Block a user