From bed0e6d46b7f01f15ec9aa4393f8269903ff41d8 Mon Sep 17 00:00:00 2001 From: James Saunders Date: Thu, 23 Jan 2020 14:46:20 +0200 Subject: [PATCH] Pass styles through to dcc.Loading node when loaded The style dictionary is present when the dcc.Loading component is loading, but not when it is loaded. This causes problems if you have layout styling on the Loading node (like height, or flex-grow). This seems like it was just an oversight. --- src/components/Loading.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Loading.react.js b/src/components/Loading.react.js index 2077fbb9e..1c1512c52 100644 --- a/src/components/Loading.react.js +++ b/src/components/Loading.react.js @@ -55,7 +55,7 @@ export default class Loading extends Component { type(this.props.children) !== 'Object' || type(this.props.children) !== 'Function' ) { - return
{this.props.children}
; + return
{this.props.children}
; } return this.props.children; }