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
I'm using ember-sortable v4.0.3 to reorder the rows within ember-table v5.0.0. Initially, when rows are rendered, .sortable-item class is applied to the rows, but after updating the array according to the reordered data .sortable-item class is not re-applied.
After the reorder is done, sortable-item modifier update is not triggered.
<EmberTable
as |et|
>
<et.body
{{sortable-grouponChange=this.reorderTiles}}
as |b|
>
<b.row
@rows={{@data}}{{sortable-itemmodel=b.rowValue}}
>
</b.row>
</et.body>
</EmberTable>
Screenshots
In the screenshot above you can see that 1) first has .sortable-item class that was applied initially, no sorting was done, and 2) second was reordered, .sortable-class is missing.
Workaround
Manually setting the class="sortable-item" solves the issue
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using
ember-sortable
v4.0.3 to reorder the rows withinember-table
v5.0.0. Initially, when rows are rendered,.sortable-item
class is applied to the rows, but after updating the array according to the reordered data.sortable-item
class is not re-applied.After the reorder is done, sortable-item modifier update is not triggered.
Screenshots
In the screenshot above you can see that 1) first has
.sortable-item
class that was applied initially, no sorting was done, and 2) second was reordered,.sortable-class
is missing.Workaround
Manually setting the
class="sortable-item"
solves the issueThe text was updated successfully, but these errors were encountered: