Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70762

Freezing ion-spinner alongside ChangeDetectionStrategy.OnPush

$
0
0

@fagerli93 wrote:

Hi all.

So I’ve come to a little problem. It seems like the ‘ion-spinner’ component does not work very well (It freezes) alongside a page that uses ChangeDetectionStrategy.OnPush. Problem seems to be svg not updating.

From what I can understand it relies on change detection to be run to show “progress” - but this ruins the whole idea of OnPush strategy.
I can see that it works / updates if I press a button or something updates, causing changedetection to run.

Is there a way to have an ion-spinner that works alongside OnPush strategy?
I believe the same problem is for ion-refresher.

Regards,
Simon

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>