Animation flickering with pagination
See original GitHub issueI have a flickering problem with combining angularUtils pagination with ngAnimate (Angular 1.4)
I recorded a screen video from it http://www.vidup.de/v/oHhCU/
It looks like all of the records are in the array for a short time:
Is there a fix or workaround?
My CSS
.animate-repeat-tablerow.ng-move,
.animate-repeat-tablerow.ng-enter,
.animate-repeat-tablerow.ng-leave {
transition:all linear 0.2s;
}
.animate-repeat-tablerow.ng-leave.ng-leave-active,
.animate-repeat-tablerow.ng-move,
.animate-repeat-tablerow.ng-enter {
opacity:0;
}
.animate-repeat-tablerow.ng-leave,
.animate-repeat-tablerow.ng-move.ng-move-active,
.animate-repeat-tablerow.ng-enter.ng-enter-active {
opacity:1;
}
My HTML:
<table>
<tr dir-paginate='download in downloads | filter: filterDownloads | itemsPerPage: 2 ' class="animate-repeat-tablerow">
<td>
{{download.post_title}}
<p class='font_size_small no_margin'>{{download.download_description}}</p>
</td>
<td>
<span ng-repeat='term in download.terms'>{{term.name}}</span>
</td>
<td>
<span ng-repeat='relation in download.download_relations | filter: { "post_type":"product-group" }'>{{relation.post_title}}</span>
</td>
</tr>
</table>
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Animation flickering with pagination - Bountysource
I have a flickering problem with combining angularUtils pagination with ngAnimate (Angular 1.4). I recorded a screen video from it
Read more >Android Paging 3 - experiencing flickers, glitches or jumps in ...
The problem is : when recyclerview loads the data , following happens:recyclerview flickers, items jump, are removed , added again and so on....
Read more >Animation flickering - GSAP - GreenSock
Hi, Made a five elements timeline animation, they all start together, and I notice that it's like flickering a bit on mobile (safari/chrome)....
Read more >Flickering Transitions - Adobe After Effects tutorial - YouTube
Want to make things flicker in after effects... well there are many way to make that happen. Keyframes, effects, and expressions.
Read more >How to fix flickering in animations? - Chaos Help Center
Flickering is a broad term which usually refers to the appearance of flashing or unsteadiness in an animated sequence.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It kinda helps, but there is a little flashing at every page change…
I came up with a different workardound instead. I made this directive in order to disable ng-animation on certain elements:
By setting the ‘ng-animation-disabled’ class to dir-paginate element, I got rid of the ng-animate problem.
Plunkr: http://plnkr.co/edit/WmOcs9ar4HaelyNITcGk?p=preview
Right, sorry, I was addressing a similar issue - when no animation is added - instead of this one (I mistakenly tought that the 0.2s animation was for a 0s one). Never mind