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
Describe the bug
When both a ResizeColumnsPlugin and a SortPlugin are added to a TableConfig, resizing columns can trigger sorting of the resized column.
To Reproduce
This is reproducible in two different scenarios. Scenario A (Resizing the column width smaller than the header):
1. Resize a column which is sortable bigger than initial
2. Resize the column as small as it can be (header-content) by dragging the resizing-element onto the title. This should only resize the column.
Fails in step 2:
When releasing the dragged resizing-element on the header, the column is getting sorted.
Secnario B (Resizing the column to something bigger fast):
Increase the width of a column by using the resizing-element. If this is done fast, the cursor flickers between the resizing-cursor and the click-cursor to sort the columns.
This is a bit random. If released in the right moment, the column which has been resized, is getting sorted. Sometimes this also happens if resizing is not done fast on purpose.
Expected behavior
Both resizing actions should not trigger sorting of the column
The text was updated successfully, but these errors were encountered:
vegegoku
changed the title
TableConfig: ResizeColumnsPlugin in combination with SortPlugin triggers sorting when resizing a column
ResizeColumnsPlugin in combination with SortPlugin triggers sorting when resizing a column
Aug 27, 2023
Describe the bug
When both a ResizeColumnsPlugin and a SortPlugin are added to a TableConfig, resizing columns can trigger sorting of the resized column.
To Reproduce
This is reproducible in two different scenarios.
Scenario A (Resizing the column width smaller than the header):
1. Resize a column which is sortable bigger than initial
2. Resize the column as small as it can be (header-content) by dragging the resizing-element onto the title. This should only resize the column.
Fails in step 2:
When releasing the dragged resizing-element on the header, the column is getting sorted.
Secnario B (Resizing the column to something bigger fast):
Increase the width of a column by using the resizing-element. If this is done fast, the cursor flickers between the resizing-cursor and the click-cursor to sort the columns.
This is a bit random. If released in the right moment, the column which has been resized, is getting sorted. Sometimes this also happens if resizing is not done fast on purpose.
Expected behavior
Both resizing actions should not trigger sorting of the column
The text was updated successfully, but these errors were encountered: