We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9778a4c commit c12b542Copy full SHA for c12b542
components/dash-core-components/src/components/Loading.react.js
@@ -31,8 +31,9 @@ const coveringSpinner = {
31
32
const loadingSelector = (componentPath, targetComponents) => state => {
33
let stringPath = JSON.stringify(componentPath);
34
- // Remove the last ] for easy match
35
- stringPath = stringPath.substring(0, stringPath.length - 1);
+ // Remove the last ] for easy match and add `,` to make sure only children
+ // trigger the loading. See issue: https://github.com/plotly/dash/issues/3276
36
+ stringPath = stringPath.substring(0, stringPath.length - 1) + ',';
37
const loadingChildren = toPairs(state.loading).reduce(
38
(acc, [path, load]) => {
39
if (path.startsWith(stringPath) && load.length) {
0 commit comments