craftcms / craftcms/cms

[5.10.1]: Loading spinner touches top of element index panel on certain occasions

Open
#18,887 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

What happened?

This is a very small one! When navigating between element indexes and specifically when navigating away from a very short or empty index view, the spinner can touch the top of the index panel instead of being centered vertically, which looks a bit awkward.

Perhaps introduce a min-height while loading?

Image
Craft CMS version

5.10.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by navigating away from a very short or empty element index view and observe the loading spinner. Trace the index panel's loading state and determine how its height is set; done means the spinner remains vertically centered while navigating between indexes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.