bug: White flash appearing when switching between tabs on Android
Type: bug
Platform: android 4.4 webview
when switching between tabs ONLY on Android platform, the app show a white flash. This is in 1.0.0 stable. Not using crosswalk. Forum post http://forum.ionicframework.com/t/white-flash-appearing-when-switching-between-tabs-on-android-in-1-0-0-stable/24774
+1 , is there any other solutions?
wow this is still going on.eh..Was figuring the core team would have a good idea what this wasAnyone have a good pointer to source code we might start experimenting with?
Did 1.2 fix this? There was a commit in there that should have addressed this issue.
The bug is still here on 1.2 to 1.2.2
I tried again and it is solved if you put :
ionic.requestAnimationFrame(onReflow);
as he said, and not :
$timeout(function() {
ionic.requestAnimationFrame(onReflow);
});
Obviously, $timeout is doing something
@mlynch maybe you remember what this was for? https://github.com/driftyco/ionic/commit/d0246cf975bb4022eb890d3b0c28964e3065644c#diff-e25bdd32bda2f4f00f01c823ec86b1f3
Seems to have broken it again.
Maybe this is why :
if code is queued using $timeout, it should run after the DOM has been manipulated by Angular, and after the browser renders (which may cause flicker in some cases)
Reviewing for 1.2.5
Unfortunately, this broke #4782 which caused the back view to sometimes not animate correctly. Removing $timeout is probably too simplistic of a solution for this.
still have the issue even when I remove the timeout..
+1
Have this issues as well...
+1
+1
note, updating your bower.json helps (correct highlighting), but there is a slight delay as mentioned
{ "name": "HelloIonic", "private": "true", "devDependencies": { "ionic": "driftyco/ionic-bower#1.7.12", //HERE, MAKE SURE IT'S UPDATED "aws-sdk-js": "~2.0.9", "bootstrap": "~3.2.0", "platform.js": "platform#~1.3.1" } }
Anyway, the slight flash is only on android, and it's just a fraction of a second.
Can anyone confirm that 1.2.3 "copenhagen" fixes this issue?
@mhartington @mlynch I can confirm this is still not working property with version 1.2.3. Take a look at these sequence of screenshots.
I'm first starting on my Bills tab like this:

I then tap on my Roommates tab and the following steps occur (which causes the blink):
- App says "Bills" for title but showing the cached "Roommates" tab

- App then removes all content, but still shows "Bills" title

- App shows "Roommates" content

- App fades in "Roommates" title

With all of these steps combined it creates a hideous flicker when switching tabs.
To see the bug in affect, take a look at this video: https://dl.dropboxusercontent.com/u/97539058/Bugs/tabs-bug.mp4
Hey I realized that my bug was an issue with using SQLite in my application. Sorry for the confusion.
+1
+1