You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a table is created with resizableColumns: true and selectableRows: 'none', column handles can be dragged beyond the ranges of their columns. This creates display errors. It appears to be the result of TableResize.isLastColumn() not respecting the selectableRows prop.
Expected Behavior
WHEN a datatable with at least three columns is created with resizable columns and no selectable rows
AND a user drags the second-to-last column to the right
THEN
The dragged handle's position should be constrained.
Current Behavior
WHEN a datatable with at least three columns is created with resizable columns and no selectable rows
AND a user drags the second-to-last column to the right
THEN
The dragged handle can be dragged beyond its columns width, creating a display error. See example:
When a table is created with resizableColumns: true and selectableRows: 'none', column handles can be dragged beyond the ranges of their columns. This creates display errors. It appears to be the result of TableResize.isLastColumn() not respecting the selectableRows prop.
Expected Behavior
THEN
The dragged handle's position should be constrained.
Current Behavior
THEN
The dragged handle can be dragged beyond its columns width, creating a display error. See example:
Steps to Reproduce (for bugs)
See sandbox here: https://codesandbox.io/s/muidatatables-custom-toolbar-ddw18
{
selectableRows: 'none',
resizableColumns: true,
}
Your Environment
The text was updated successfully, but these errors were encountered: