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

refactor: loading spinner configurable tag #2530

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

rwd
Copy link
Contributor

@rwd rwd commented Dec 19, 2024

  • give the loading spinner a configurable root element tag, defaulting to div
  • prevent the loading spinner elements rendering at all until its delay has elapsed, to help with CLS on not-too-slow pages/components
  • remove all wrapping div, b-container, b-row and b-col elements from around LoadingSpinner in components that use it, and combine any classes from those onto the LoadingSpinner element itself

Copy link

Preview deployment: https://pr-2530.portal-js.dev.eanadev.org/

@LeoniePeters LeoniePeters merged commit 15c9fae into master Dec 19, 2024
17 of 18 checks passed
@LeoniePeters LeoniePeters deleted the refactor/loading-spinner-configurable-tag branch December 19, 2024 15:49
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.

2 participants