Open blambeau opened 7 years ago
+1
It seems that the reflow within the ngModel formatters is not waiting for the table to render. I tested this by adding some delay to the timeout. It worked better at about 300 milliseconds for me. Probably not the perfect solution but I think this is where the issue is.
Hi!
I experience an issue when the table data changes on the ng-model. The first
tbody>tr
seems to disappear below the floatedthead
.See https://jsfiddle.net/t12doyro/1/. When pressing the change-data button, row n°0 disappears.
Trying to debug this by myself, I found that jQuery.floatThead's
reflow
event looses the real tablethead
, which makes the table shrink vertically.I tried to replace the
reflow
call and use "destroy + reinstall", but the behavior tends to be even worse: in my angular application, it leads tothead
being missing on completely unrelated tables with floatThead enabled too...Any idea?