Place dcc.Loading over/inside child?

Hi @luggie

You can try some of the new features for dcc.Loading available in dash 2.17.0

app.layout = html.Div([
    dcc.Loading(
        className="loading-custom",
        children=dbc.Button("Click me", id="button"),
        type="circle",
        overlay_style={"visibility": "visible", "display": "inline-block"}
    )
])

https://dash.plotly.com/dash-core-components/loading

2 Likes