Angular ng-repeat causes flickering

后端 未结 5 932
情话喂你
情话喂你 2021-02-04 02:20

I\'m displaying a list of thumbnails with this code:

5条回答
  •  悲&欢浪女
    2021-02-04 02:57

    I was having the same issue, using the track by $index finally resolved the problem for me. At first I didn't think it did, as I used it directly in the image tags where another ng-repeat was. Once I put it in the parent div (as well) on ng-repeat it worked:

提交回复
热议问题