Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 29f846b

Browse files
andresgalanteFranco Correa
authored andcommitted
Fixes dialog (#1260)
1 parent 5f4e6e4 commit 29f846b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/components/atoms/_overlay/overlay.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Overlay.Element = styled.div`
100100
width: 100%;
101101
margin: ${spacing.xlarge} ${spacing.small};
102102
pointer-events: none;
103+
display: inline-block;
103104
104105
/* Since the focus trap is adding divs around the dialog box, the max width prop should be here */
105106
max-width: ${props => Overlay.getSizeForOverlay(props.contentSize)};

core/components/molecules/dialog/dialog.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class Dialog extends React.Component {
138138

139139
const DialogBox = styled.div`
140140
${containerStyles};
141+
pointer-events: auto;
141142
position: relative;
142143
max-height: calc(100vh - (${spacing.xlarge} * 2));
143144
display: flex;

0 commit comments

Comments
 (0)