Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A brief white screen will appear when first opened #525

Open
1 task done
Link-X opened this issue Nov 24, 2023 · 2 comments
Open
1 task done

A brief white screen will appear when first opened #525

Link-X opened this issue Nov 24, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Link-X
Copy link

Link-X commented Nov 24, 2023

Should this be an RFC?

  • This is not a substantial change

Description

I hope to add loading animations when the actual page content is not displayed.

It can be considered to distribute events in Flutter, and it is better for Flutter to display a loading widget than full screen white.

Alternatives and Workarounds

No response

@Link-X Link-X added the enhancement New feature or request label Nov 24, 2023
@Link-X
Copy link
Author

Link-X commented Nov 24, 2023

Temporarily implemented through events onLoadError and onDOMContentLoaded. These events are not mentioned in the document.

@andycall
Copy link
Member

Maybe I can design a callback that triggers when widgets are received and displayed on the screen, before the actual page content has fully loaded.

@andycall andycall self-assigned this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants