ngRepeatReorder icon indicating copy to clipboard operation
ngRepeatReorder copied to clipboard

Current ng-repeat-reorder implementation breaks html5 table layouts

Open gregtzar opened this issue 9 years ago • 0 comments

While using ng-repeat-reorder on a table row <tr> element, my table layout was breaking because a div with class name ng-repeat-reorder-parent was automatically be wrapped around the <tr> elements. Modern table dom needs nest as follows: <table> >> <tbody> >> <tr>. My solution was to auto-create the div wrapper only if the user has not already assigned this class to an existing element (in my case I would just give <tbody> that class).

gregtzar avatar Nov 17 '14 23:11 gregtzar