diff --git a/components/modal/index.jsx b/components/modal/index.jsx index 9795a60ad8..872dfeabb0 100644 --- a/components/modal/index.jsx +++ b/components/modal/index.jsx @@ -50,6 +50,7 @@ module.exports = function (props) { props.visible = true; props.children = props.content; props.footer = footer; + props.renderToBody = false; var d; React.render(, div, function () { d = this; diff --git a/package.json b/package.json index e3df7ea339..2cac8800c9 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "gregorian-calendar": "~3.0.0", "gregorian-calendar-format": "~3.0.1", "rc-calendar": "~3.8.0", - "rc-dialog": "~4.1.1", + "rc-dialog": "~4.2.0", "rc-dropdown": "~1.0.0", "rc-menu": "~3.3.0", "rc-progress": "~1.0.0",