From d2943283196de5fe87d51cf547a10c0306d2dda6 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 9 Dec 2019 22:34:45 +0800 Subject: [PATCH] feat: add modal not scroll to focus position when close #1320 --- components/modal/Modal.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/Modal.jsx b/components/modal/Modal.jsx index c6e5c1627..10ea4223b 100644 --- a/components/modal/Modal.jsx +++ b/components/modal/Modal.jsx @@ -66,6 +66,7 @@ const modalProps = (defaultProps = {}) => { mask: PropTypes.bool, keyboard: PropTypes.bool, wrapProps: PropTypes.object, + focusTriggerAfterClose: PropTypes.bool, }; return initDefaultProps(props, defaultProps); };