angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

ngRepeat did not update <tbody> in IE 10

Open itsverygood opened this issue 12 years ago • 2 comments

I have a array which is binding to <tbody>. The binding array was changed from o length to 1 length. Chrome and FireFox are working good. But IE did not update the <tbody>. Following are DOM views from IE and Chrome.

IE: <!-- ngRepeat: sfObject in acall.salesForceObjects track by sfObject.object --> ietbody

Chrome: <!-- ngRepeat: sfObject in acall.salesForceObjects track by sfObject.object --> <tbody x-ng-repeat="sfObject in acall.salesForceObjects track by sfObject.object" class="ng-scope"> <tr> <td class="header"><label class="ng-binding">Contact:</label></td> <td> <!-- ngRepeat: value in sfObject.data track by value.id --><div x-ng-repeat="value in sfObject.data track by value.id" class="ng-scope"><label style="text-decoration: underline; cursor: pointer;" x-ng-click="Salesforce_ScreenPop(value.id)" title="TF2 TL2" class="ng-binding">TF2 TL2</label></div><!-- end ngRepeat: value in sfObject.data track by value.id --> </td> </tr> </tbody> <!-- end ngRepeat: sfObject in acall.salesForceObjects track by sfObject.object --> chrometbody

itsverygood avatar Jun 03 '14 19:06 itsverygood

Hi, I'm happy to look into this, but could you please create a minimal reproduction of the bug? Preferably on http://plnkr.co --- Thanks =)

caitp avatar Jun 03 '14 19:06 caitp

Hi caitp,

Thank you very much for your offer! I couldn't reproduce it with simple example. Because it's not Angularjs bug. It's IE or my problem. I changed my logic to treat an object parameter as value but not as a reference, solve the problem.

itsverygood avatar Jun 07 '14 02:06 itsverygood