Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Flickering during the transition between views on iOS

$
0
0

My thought is that it can be related to Ionic's caching process, but how exactly - I don't know.

Hm... maybe. Try this:

Add cache: false
to your states.It should look like this:

  .state('events.accepted', {
    url: '/accepted',
    cache: false,
    views:{
    	'events-view':{
  	   templateUrl: 'views/events/accepted.html',
  	   controller: 'AcceptedEventsCtrl',
    	}
    }
  })
  .state('events.pending', {
    url: '/pending',
    cache: false,
    views: {
    	'events-view': {
  	   templateUrl: 'views/events/pending.html',
  	   controller: 'PendingEventsCtrl',
  	  }
    }
  })

Apparently your transitions work fine when going 'forward'. Since by default your forward views are not cached, maybe we can fix this by not caching these views at all.

Hope it works :confused:


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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