Skip to content

Commit

Permalink
fix: display of flyout hidden by dialog (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron authored Nov 7, 2023
1 parent a11fc65 commit 98308a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions samples/react-contoso/src/pages/ChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ const useStyles = makeStyles({
},
dialog: {
display: 'block'
},
dialogSurface: {
contain: 'unset'
}
});

Expand Down Expand Up @@ -84,7 +87,7 @@ const ChatPage: React.FunctionComponent = () => {
New Chat
</Button>
</DialogTrigger>
<DialogSurface>
<DialogSurface className={styles.dialogSurface}>
<DialogBody className={styles.dialog}>
<DialogTitle>New Chat</DialogTitle>
<NewChat
Expand Down Expand Up @@ -135,4 +138,4 @@ const ChatList = React.memo((props: ChatListProps) => {
);
});

export default ChatPage;
export default ChatPage;

0 comments on commit 98308a8

Please sign in to comment.