From f791a50084eda5692635fd373bc2ec4a6b8d98e1 Mon Sep 17 00:00:00 2001 From: zombiej Date: Thu, 6 Dec 2018 15:08:35 +0800 Subject: [PATCH] add forceRender support fix #12503 --- components/modal/index.en-US.md | 1 + components/modal/index.zh-CN.md | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/modal/index.en-US.md b/components/modal/index.en-US.md index 82106622d432..b8055223a677 100644 --- a/components/modal/index.en-US.md +++ b/components/modal/index.en-US.md @@ -26,6 +26,7 @@ and so on. | confirmLoading | Whether to apply loading visual effect for OK button or not | boolean | false | | destroyOnClose | Whether to unmount child components on onClose | boolean | false | | footer | Footer content, set as `footer={null}` when you don't need default buttons | string\|ReactNode | OK and Cancel buttons | +| forceRender | Force render Modal | boolean | false | | getContainer | Return the mount node for Modal | (instance): HTMLElement | () => document.body | | mask | Whether show mask or not. | Boolean | true | | maskClosable | Whether to close the modal dialog when the mask (area outside the modal) is clicked | boolean | true | diff --git a/components/modal/index.zh-CN.md b/components/modal/index.zh-CN.md index 40d3075a6862..8306d49c822f 100644 --- a/components/modal/index.zh-CN.md +++ b/components/modal/index.zh-CN.md @@ -25,6 +25,7 @@ title: Modal | confirmLoading | 确定按钮 loading | boolean | 无 | | destroyOnClose | 关闭时销毁 Modal 里的子元素 | boolean | false | | footer | 底部内容,当不需要默认底部按钮时,可以设为 `footer={null}` | string\|ReactNode | 确定取消按钮 | +| forceRender | 强制渲染 Modal | boolean | false | | getContainer | 指定 Modal 挂载的 HTML 节点 | (instance): HTMLElement | () => document.body | | keyboard | 是否支持键盘esc关闭 | boolean | true | | mask | 是否展示遮罩 | Boolean | true | diff --git a/package.json b/package.json index 41ef44e16476..fb7c51daea11 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "rc-cascader": "~0.16.0", "rc-checkbox": "~2.1.5", "rc-collapse": "~1.10.0", - "rc-dialog": "~7.2.1", + "rc-dialog": "~7.3.0", "rc-drawer": "~1.7.6", "rc-dropdown": "~2.2.1", "rc-editor-mention": "^1.1.7",