Skip to content

Effect of #4172 on spinner flicker #4215

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

Open
rasmusjagren opened this issue May 6, 2025 · 2 comments
Open

Effect of #4172 on spinner flicker #4215

rasmusjagren opened this issue May 6, 2025 · 2 comments

Comments

@rasmusjagren
Copy link

#4172 adds a minimal height to ui elements while displaying spinners to avoid cropping them. This makes sense in most cases, but causes a lot of flicker if the final height of the element is lower than that of the spinner (e.g. if rendering empty cards in a dashboard that will later be filled). It would be good if this feature could be turned off in the setting.

@cpsievert
Copy link
Collaborator

Interesting, thanks for the report. Would you be interested in sharing a reprex and/or screen-recording? Doing so will increase the chances that we'll address the issue

@cpsievert
Copy link
Collaborator

Also, if you want to prevent this behavior, I think you can add this CSS?

[data-shiny-busy-spinners] .recalculating {
  min-height: 0 !important;
}

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