Navigation Menu

Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

fix(splash screen): white screen after start #158

Closed
wants to merge 1 commit into from

Conversation

danielsogl
Copy link
Contributor

@danielsogl danielsogl commented May 3, 2017

This problem is not new. Many users have/had a problem with a white screen after the app starts.

There are two problems.

  1. The Splash screen delay is too short so the splash screen.hide() method in the app.component.ts file is useless. The app won't start in just 3000ms if the app itself is big (no lazy loading).
  2. Because the fade animation is a bit too fast there will still be a short white screen.

My workaround for this problem is to set the delay to a high-value like 10.000ms and set the autohide value to false (default, if not set, is true).

Let me know your thoughts about this change. maybe there is a better solution but we should increase the delay value.

Related posts:
https://forum.ionicframework.com/t/after-splash-screen-display-white-screen-long-time/80162
https://forum.ionicframework.com/t/ionic-2-startup-too-slow/78591/11
https://forum.ionicframework.com/t/splash-screen-delay/78186/14

@danielsogl danielsogl closed this May 9, 2017
@danielsogl danielsogl deleted the patch-6 branch June 1, 2017 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant