Web: Components: fixed TableHeaderCell clickability
This commit is contained in:
parent
fc4d1d58d8
commit
c45bb4acc0
@ -121,11 +121,11 @@ class TableHeader extends React.Component {
|
||||
const defaultColumn = document.getElementById("column_" + colIndex);
|
||||
if (!defaultColumn || defaultColumn.dataset.defaultSize) return;
|
||||
|
||||
const handleOffset = 1;
|
||||
const handleOffset = 8;
|
||||
|
||||
if (column2Width + offset >= defaultMinColumnSize) {
|
||||
widths[+columnIndex] = newWidth - handleOffset + "px";
|
||||
widths[colIndex] = column2Width + offset + handleOffset + "px";
|
||||
widths[+columnIndex] = newWidth + handleOffset + "px";
|
||||
widths[colIndex] = column2Width + offset - handleOffset + "px";
|
||||
} else {
|
||||
if (colIndex === this.props.columns.length) return false;
|
||||
return this.moveToRight(widths, newWidth, colIndex + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user