ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Flickering animation during navigation state changes

Open lehresman opened this issue 11 years ago • 7 comments

Type: bug

Platform: ios 9 webview

This ONLY happens in iOS 9 (the simulator and on my phone running through xcode), not when using a browser with "ionic serve". It seems to work fine in iOS 8.4.

I am seeing flickering animations between state changes. For the longest time I thought it was my code, but this happens with the base unmodified sidemenu template as well. See this video:

http://cl.ly/1W083M3p0P01

Notice what happens when I click on "Indie". The reproduction steps are not consistent. It's not just the "Indie" list item, but can happen anywhere.

It's almost like there are some extra views in the history that it's trying to animate.

Cordova CLI: 5.3.1 Gulp version: CLI version 3.9.0 Gulp local:
Ionic Version: 1.1.0 Ionic CLI Version: 1.6.4 Ionic App Lib Version: 0.3.8 ios-deploy version: Not installed ios-sim version: 5.0.1 OS: Mac OS X Yosemite <-- (this is not right, I'm on El Capitan) Node Version: v0.12.7 Xcode version: Xcode 7.0 Build version 7A220

lehresman avatar Sep 20 '15 20:09 lehresman

happening the same to me. hope to get a solution soon!! @lehresman

dmarcos89 avatar Sep 21 '15 02:09 dmarcos89

It is happening with me too.... too much flickering

dhirajb1989 avatar Sep 21 '15 08:09 dhirajb1989

A few more details after testing it some more. Sometimes the state change doesn't actually take effect. For example, sometimes when I hit the Back button in the navbar, it does that flicker dance, then ends up on the same state it started on. Clicking Back again usually works the 2nd time.

Also I can confirm this does not happen on iOS 8.4 simulator or in the browser, only iOS 9 simulator and iOS 9 on my phone (iPhone 5).

lehresman avatar Sep 21 '15 12:09 lehresman

Does this happen if you apply the iOS9 patch ?

petarov avatar Sep 21 '15 12:09 petarov

Wow, thanks for the tip. That seems to have fixed it. I cannot get the problem to happen once that patch is applied. Thanks!

lehresman avatar Sep 21 '15 12:09 lehresman

Thanks a lot.... works for me too.... however one last question.... my ionic version is 1.0.0 and the patch is 1.1.1... Will you suggest me to update my ionic version to 1.1.0?

dhirajb1989 avatar Sep 21 '15 13:09 dhirajb1989

@dhirajb1989 I believe 1.1.1 is the version of the patch itself and not ionic. You most likely do not need to update, but that's for the ionic devs to say.

petarov avatar Sep 21 '15 15:09 petarov