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

spinner should be vertically centered within viewport, not within document content #58

Open
timrobinson33 opened this issue Apr 11, 2022 · 1 comment

Comments

@timrobinson33
Copy link

If the document is longer than the viewport, the spinner can only be seen when the middle of the document is scrolled into view.

I would have expected the overlay panel to fill the viewport and float over the document (at least as an option, even if there is a good reason to have it work the current way sometimes)

@alexander01202
Copy link

Give the overlay with the background color a position of fixed. Also make sure to keep the loader component above the component you are calling it from. Use fragmentation to do this. This so that no parent styling would affect it.

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

No branches or pull requests

2 participants