I'm using the React-Redux Material-UI package: http://www.material-ui.com/#/components/dialog
I'm trying to add a grey overlay over the entire dialog component with a circular indicator after the user logs in.
Attempting to do this in the dialog body like so:
return <div>
<Dialog
title="Login"
actions={actions}
modal={false}
open={this.props.open}
onRequestClose={this.handleClose}>
<div className="loadingRoot">
TEST TEST TEST TEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TESTTEST TEST TEST
</div>
<div>
<TextField floatingLabelText='username' name='username' onChange={this.handleTextFieldChange} /><br />
<TextField floatingLabelText='password' name='password' onChange={this.handleTextFieldChange} />
</div>
</Dialog>
</div>;
Leads to a dialog box like this:
Anyway to make this work so the 'loadingRoot' class will cover the entire dialog?
