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

<q-spinner-tail> rendering bug when using display: none #17281

Open
SilPho opened this issue Jun 12, 2024 · 3 comments
Open

<q-spinner-tail> rendering bug when using display: none #17281

SilPho opened this issue Jun 12, 2024 · 3 comments
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@SilPho
Copy link

SilPho commented Jun 12, 2024

What happened?

When the first on a page has its display attribute set to "none", it causes a rendering glitch on all subsequent elements.

Strangely, if the first is visible then it doesn't matter what display state the others have.

What did you expect to happen?

"display: none " should not have an effect on any other elements.

Reproduction URL

https://jsfiddle.net/3mks056g/6/

How to reproduce?

  1. Go to the provided JSFiddle page
  2. Observe that the first spinner is hidden as expected
  3. Observe that the others don't look correct.
  4. Try editing the "display: none" definition to see that this bug only happens when its on the first spinner

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Firefox, Chrome, Microsoft Edge

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@SilPho SilPho added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jun 12, 2024
@github-actions github-actions bot added area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite labels Jun 12, 2024
@rstoenescu
Copy link
Member

Hi,

This doesn't makes any sense. It's at best a browser glitch, and not sure that we can do anything about it, unfortunately... The spinners are just svg-s and the style applied to one should not interfere with the rendering of the others.

@rstoenescu
Copy link
Member

Safari, out of all the browsers, seems to display all svg-s correctly.

@SilPho
Copy link
Author

SilPho commented Jun 12, 2024

This doesn't makes any sense. It's at best a browser glitch, and not sure that we can do anything about it, unfortunately... The spinners are just svg-s and the style applied to one should not interfere with the rendering of the others.

Agreed, it doesn't make a bit of sense to me either. I figured a browser glitch was pretty likely, but since it happens on Firefox, and Edge/Chrome, it's not just tied to one renderer. Puzzling.

I figured I might as well report it, but I won't be offended if you just close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants