feat: add modal not scroll to focus position when close #1320

pull/1534/head
tangjinzhou 2019-12-09 22:34:45 +08:00
parent e4f83939b9
commit d294328319
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ const modalProps = (defaultProps = {}) => {
mask: PropTypes.bool, mask: PropTypes.bool,
keyboard: PropTypes.bool, keyboard: PropTypes.bool,
wrapProps: PropTypes.object, wrapProps: PropTypes.object,
focusTriggerAfterClose: PropTypes.bool,
}; };
return initDefaultProps(props, defaultProps); return initDefaultProps(props, defaultProps);
}; };