From e4f83939b91a7e982ddff0f0cc0ef1c6b8380193 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 9 Dec 2019 22:23:40 +0800 Subject: [PATCH] fix: body scroll when open modal #1472 --- .../__snapshots__/Modal.test.js.snap | 6 +- components/vc-dialog/Dialog.jsx | 110 ++++++++---------- components/vc-dialog/IDialogPropTypes.js | 3 + components/vc-dialog/LazyRenderBox.jsx | 1 + components/vc-dialog/index.js | 2 +- 5 files changed, 56 insertions(+), 66 deletions(-) diff --git a/components/modal/__tests__/__snapshots__/Modal.test.js.snap b/components/modal/__tests__/__snapshots__/Modal.test.js.snap index 89fcb80b4..9279fee03 100644 --- a/components/modal/__tests__/__snapshots__/Modal.test.js.snap +++ b/components/modal/__tests__/__snapshots__/Modal.test.js.snap @@ -4,7 +4,7 @@ exports[`Modal render correctly 1`] = `
-
+