Loading_state property of dcc.Loading component is None

Hello, I am trying to change a component property when a Loading component is called.
The loader works perfectly fine, but a callback, whose Input is the loading_state property of the Loading component, is not being triggered.
Indeed, this property is always None, even though the Loading component is working when needed.
And I would expect that dictionary to have the form given in the docs:

The callback is the following:

            Output(component_id='My_map', component_property= 'style'),
            Input(component_id='loading_number_from_map', component_property= 'loading_state'),
def update_map_cursor(loading_state):

Thanks in advance!

1 Like

I can see that the ‘loading_state’ property comes from dash-renderer that is not in use any more, right?

Is there a way that I could get the information about the loading state of a HTML component and change its style?
I read the docs:

However I am not able to update the style of the dcc from the CSS.

Any help would be appreciated :slight_smile: