mistercrunch commented on a change in pull request #6283: [dashboard] fix 
<Loading /> spinners disappear too early
URL: 
https://github.com/apache/incubator-superset/pull/6283#discussion_r231187197
 
 

 ##########
 File path: superset/assets/src/chart/Chart.jsx
 ##########
 @@ -176,7 +176,7 @@ class Chart extends React.PureComponent {
       >
         {this.renderTooltip()}
 
-        {isLoading && <Loading size={50} />}
+        {chartStatus !== 'rendered' && <Loading size={50} />}
 
 Review comment:
   That's what I tried at first, but that broke things, maybe because of the 
css class `is-loading`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to