Closed
Description
The position calculation for the resizer line seems not to include cell padding values or any other decoration like borders and is more and more offset the further right you start dragging.
To reproduce:
- Create a table with enough columns, which are enabled to resize them.
- Use this CSS rule to apply some padding:
.dataTable__header-cell,
.dataTable__row-cell {
padding: 0px 5px;
}
Now try to resize a column. If you start left the resize line is close to the cursor (and column right border). The further right a column is, the larger is the distance between the right column border and the resize line.
A passable workaround is to set the padding on the row text class, though it's not perfect.
Metadata
Metadata
Assignees
Labels
No labels