Skip to content

Commit 0e2d3ff

Browse files
authored
passing onRequestClose to Modal (#3138)
1 parent 0ddb1cf commit 0e2d3ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/incubator/expandableOverlay/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ const ExpandableOverlay = (props: ExpandableOverlayProps, ref: any) => {
9494
{...modalProps}
9595
visible={visible}
9696
onDismiss={closeExpandable}
97+
onRequestClose={closeExpandable}
9798
>
9899
{showTopBar && <Modal.TopBar onDone={closeExpandable} {...topBarProps}/>}
99100
{expandableContent}

0 commit comments

Comments
 (0)