Skip to content

Commit d294328

Browse files
committed
feat: add modal not scroll to focus position when close #1320
1 parent e4f8393 commit d294328

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/modal/Modal.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const modalProps = (defaultProps = {}) => {
6666
mask: PropTypes.bool,
6767
keyboard: PropTypes.bool,
6868
wrapProps: PropTypes.object,
69+
focusTriggerAfterClose: PropTypes.bool,
6970
};
7071
return initDefaultProps(props, defaultProps);
7172
};

0 commit comments

Comments
 (0)