[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:
Julien Mougenot
2019-09-25 06:16:54 +00:00
committed by Aaron Bohy
parent d2f024d254
commit d99e80f92a
2 changed files with 1 additions and 20 deletions
@@ -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')]