se-material-ui 0.20.3 → 0.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Dialog/Dialog.js +6 -2
  2. package/package.json +1 -1
package/Dialog/Dialog.js CHANGED
@@ -477,7 +477,7 @@ var Dialog = function (_Component3) {
477
477
  _createClass(Dialog, [{
478
478
  key: 'render',
479
479
  value: function render() {
480
- return _react2.default.createElement(_RenderToLayer2.default, { render: this.renderLayer, open: true, useLayerForClickAway: false });
480
+ return _react2.default.createElement(_RenderToLayer2.default, { container: this.props.container, render: this.renderLayer, open: true, useLayerForClickAway: false });
481
481
  }
482
482
  }]);
483
483
 
@@ -523,6 +523,9 @@ Dialog.propTypes = {
523
523
  * @ignore
524
524
  */
525
525
  className: _propTypes2.default.string,
526
+
527
+ container: _propTypes2.default.any,
528
+
526
529
  /**
527
530
  * The `className` to add to the content container.
528
531
  */
@@ -590,6 +593,7 @@ Dialog.defaultProps = {
590
593
  autoDetectWindowHeight: true,
591
594
  autoScrollBodyContent: false,
592
595
  modal: false,
593
- repositionOnUpdate: true
596
+ repositionOnUpdate: true,
597
+ container: document.body
594
598
  };
595
599
  exports.default = Dialog;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "se-material-ui",
3
3
  "author": "Material-UI Team",
4
- "version": "0.20.3",
4
+ "version": "0.20.4",
5
5
  "description": "React Components that Implement Google's Material Design.",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",