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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features available for dcc.Loading #486

Closed
1 task done
AnnMarieW opened this issue May 16, 2024 · 1 comment 路 Fixed by #487
Closed
1 task done

New features available for dcc.Loading #486

AnnMarieW opened this issue May 16, 2024 · 1 comment 路 Fixed by #487
Labels
Community Issue/PR opened by the open-source community Issue: Feature Request 馃 Issue/PR contains a feature request or is based on a feature request

Comments

@AnnMarieW
Copy link
Contributor

AnnMarieW commented May 16, 2024

Which package?

vizro

What's the problem this feature will solve?

Hi Vizro team 馃憢

I just wanted to let you know about some cool new features available for dcc.Loading in dash 2.17.0

It's now possible to:

  • Delay showing the spinner for a specified number of milliseconds - which eliminates the flickering when the loading time is very short.
  • Make the background visible and customizable with CSS -- like adding blur or opacity. This makes the transition between loading and ready a lot smoother.
  • Use your own custom spinner rather than the built-in spinners provided.

You can find the new features in the dcc.Loading section of the dash docs.

I'll do a draft PR to apply a few new settings, and you can check it out by running the demo app. If you are interested in adding this, I'd be happy to help fine-tune it.

Describe the solution you'd like

As described above

Alternative Solutions

None

Additional context

None

Code of Conduct

@AnnMarieW AnnMarieW added Issue: Feature Request 馃 Issue/PR contains a feature request or is based on a feature request Status: Needs triage 馃攳 Issue/PR needs triaging labels May 16, 2024
@Joseph-Perkins
Copy link
Contributor

ok super! thank you so much @AnnMarieW 馃檹 (also I'm sure @huong-li-nguyen will be very interested to see in more detail when back from holiday in about a week!)

@huong-li-nguyen huong-li-nguyen added Community Issue/PR opened by the open-source community and removed Status: Needs triage 馃攳 Issue/PR needs triaging labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Issue/PR opened by the open-source community Issue: Feature Request 馃 Issue/PR contains a feature request or is based on a feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants