Allow bypass of widget loading screen on hide / show.

This commit is contained in:
Richard Lewis 2017-12-06 22:54:32 +00:00
parent e20db416f2
commit ed675fe791

View file

@ -217,7 +217,7 @@ export default React.createClass({
if (nextProps.url !== this.props.url) {
this._getNewState(nextProps);
this.setScalarToken();
} else if (nextProps.show && !this.props.show) {
} else if (nextProps.show && !this.props.show && this.props.waitForIframeLoad) {
this.setState({
loading: true,
});