Skip to content

Commit

Permalink
add forceRender support
Browse files Browse the repository at this point in the history
fix #12503
  • Loading branch information
zombieJ committed Dec 6, 2018
1 parent 434205d commit f791a50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/modal/index.en-US.md
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions components/modal/index.zh-CN.md
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit f791a50

Please sign in to comment.