Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResizeColumnsPlugin in combination with SortPlugin triggers sorting when resizing a column #799

Closed
bschmelcher opened this issue Jul 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Projects
Milestone

Comments

@bschmelcher
Copy link

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

@vegegoku vegegoku self-assigned this Aug 27, 2023
@vegegoku vegegoku added bug Something isn't working version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues labels Aug 27, 2023
@vegegoku vegegoku added this to To do in Domino UI via automation Aug 27, 2023
@vegegoku vegegoku added this to the 2.0.0-RC2 milestone Aug 27, 2023
@vegegoku 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
vegegoku added a commit that referenced this issue Aug 27, 2023
vegegoku added a commit that referenced this issue Aug 27, 2023
Domino UI automation moved this from To do to Done Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Projects
Domino UI
  
Done
Development

No branches or pull requests

2 participants