dcc.Tabs + dcc.Loading result in ncaught (in promise) TypeError: Cannot read property 'on' of null

After 3 days trying to use the dcc.Loading, I gave up and opted for the second method described at the bottom of the page https://dash.plot.ly/loading-states, which works just great :heart_eyes::heart_eyes::heart_eyes::star_struck:

I removed my dcc.Loading, and instead added the below css lines in my css file:

    visibility: hidden;
    content: "Loading...";
    display: inline-block;
    color: magenta;
    visibility: visible;
1 Like