feat: add modal not scroll to focus position when close #1320
parent
e4f83939b9
commit
d294328319
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue