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

This commit is contained in:
tangjinzhou 2019-12-09 22:34:45 +08:00
parent e4f83939b9
commit d294328319

View File

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