-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Resize+Reorder combination fails on TurboTable header #4957
Comments
Same issue here, rc2 doesn't fix it |
5.2.0 doesn't fix it either :( |
same issue |
As a workaround, you can do the following: Monkeypatch Table#onColumnResizeBegin and Table#onColumnDragStart, so that the first method sets a flag (e.g. this['resizingInProgress'] = true) and that the latter method just returns if this flag is set. Also, Table#onColumnResizeEnd needs to set this flag to false at the end of the method. Of course, all three methods should call their original behavior, too. |
@ARandomDude
But nothing changed. |
Create PR for this issue.
In your component:
|
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/YNPi0CMkzaQ1z0AVoaC3?p=preview
Current behavior
When resizing a column, if columns can also be reordered, dragging the column resizer also calls the drag listener so that everytime you try to resize a column, you inadvertendly drag it.
Expected behavior
When resizing a column, the drag listener should be temporarily removed.
The text was updated successfully, but these errors were encountered: