Skip to content

fix: remove white screen on app start#171

Open
danielriosr wants to merge 1 commit into
LeagueToolkit:mainfrom
danielriosr:fix/white-screen
Open

fix: remove white screen on app start#171
danielriosr wants to merge 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
Copy link
Copy Markdown
Member

Crauzer commented May 13, 2026

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
Copy link
Copy Markdown
Contributor Author

danielriosr commented May 15, 2026

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)

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: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants