Skip to content

[Feature Request] Add optional delay to dcc.Loading() #2147

@halemade

Description

@halemade

Is your feature request related to a problem? Please describe.
Wrapping a dcc.Loading component around charts and have noticed that the loading animation occurs after every filter change as well as the initial load. While this is good if the filter change takes more than a second or two, we would like it if the component did not kick in if the load time was < 1/2 seconds.

Describe the solution you'd like
A delay argument in the dcc.Loading component that will engage the Loader only after a given amount of time.

Describe alternatives you've considered
CSS is an alternative, but a delay argument would be helpful for Python devs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions