-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(progressCircular): rAF is still running when using ng-show or ng-hide #10745
base: master
Are you sure you want to change the base?
Conversation
…ing ng-show or ng-hide
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
@feichao - lgtm, thx. |
Looks rather expensive to evaluate DOM attributes on every Angular tick. MutationObserver would give better performance. Also, using |
@clshortfuse any ideas on how to use the watcher only when @feichao can you please add some tests for this? |
@feichao Thank you very much for your contribution! Can you please update your implementation to only apply the watcher when Since this whole PR is about performance, it would be best to use this more optimally performing approach. |
We'll need to make sure that the |
fix(progressCircular): requestAnimationFrame is still running when using ng-show or ng-hide #10668