Skip to content

fix: remove white screen on app start#171

Merged
Crauzer merged 1 commit into
LeagueToolkit:mainfrom
danielriosr:fix/white-screen
Jun 4, 2026
Merged

fix: remove white screen on app start#171
Crauzer merged 1 commit into
LeagueToolkit:mainfrom
danielriosr:fix/white-screen

Conversation

@danielriosr

Copy link
Copy Markdown
Contributor

Issue resolved: When app is initially loading it can show white screen for a couple seconds while loading for everything in the WebView.

This is known and annoying issue for Tauri that have not been attended officialy. This is the workaround is the most suggested
tauri-apps/tauri#5170

@Crauzer

Crauzer commented May 13, 2026

Copy link
Copy Markdown
Member

Thanks for the PR!

I quickly skimmed over the issue that you linked but I saw that there are multiple types of workarounds/fixes. Could you elaborate more on the code that we're pushing and how it works ? Just trying to understand the issue more deeply.

@Crauzer Crauzer added area: frontend React/TypeScript UI type: performance Performance improvements type: ux User experience improvements priority: low Nice to have labels May 14, 2026
@Crauzer Crauzer moved this from Todo to In Progress in LTK Manager May 14, 2026
@danielriosr

danielriosr commented May 15, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the PR!

I quickly skimmed over the issue that you linked but I saw that there are multiple types of workarounds/fixes. Could you elaborate more on the code that we're pushing and how it works ? Just trying to understand the issue more deeply.

Tauri apps (this app) currently loads inmediatly without waiting for the webview to be ready, showing a blank content. Whats added in the proposed code is that the front end starts with visibility turned off, and it switched to on when it detects webview is ready with content.

Now: the app will show for 2s and empty webview

What to expect? The app before will have a small delay, for example 2s, before starting. But it wont show empty webview.

I would consider this a temporal fix while tauri solves this (its not LTK problem, its a not resolved Tauri issue)

@Crauzer Crauzer merged commit 0189165 into LeagueToolkit:main Jun 4, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in LTK Manager Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: frontend React/TypeScript UI priority: low Nice to have type: performance Performance improvements type: ux User experience improvements

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants