Skip to content

Suggestion: position of the default spinner #42

@dhunink

Description

@dhunink

Hi,

I've used this awesome snippet a lot in various websites. Love it, you did an amazing job!
I know that several elements, such as the progress-bar, can be positioned.
The default spinner can't tough. I recently run into an issue where the overlay is shown into a particularly div element. No matter how large the dive, the user is always scrolled to the top of it, before the loading overlay shows. Therefore it makes sense to position the spinner at the top, instead of center, as well. Checking the currently online demo, the following code does that trick:

.loadingoverlay{ flex-flow: unset; align-items: flex-start; }

I thought I'd share the suggestion; perhaps there are more people looking for this flexibility.
Once again: keep up the good work!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions