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

Examples: Use actual component to hide spinner #5782

Merged

Conversation

kungfooman
Copy link
Collaborator

@kungfooman kungfooman commented Nov 2, 2023

Fixes #5781

(I would still like some feedback from @Maksims about which example/OS was affected to test this on my side, in the meantime I will update the live browser so we can easily test it)

Edit:

This PR doesn't just display:none but removing it from the DOM. Testable via document.getElementsByClassName("spin"):

image

Updated Examples browser for this PR: https://examples.killtube.org/#/misc/hello-world

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Copy link
Contributor

@mvaligursky mvaligursky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, looks good, thank you.

@mvaligursky mvaligursky merged commit 05421fc into playcanvas:main Nov 7, 2023
7 checks passed
@kungfooman kungfooman deleted the examplesSpinnerAfterLoadedFix branch November 27, 2023 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examples loading should hide after loading is complete.
2 participants