aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/GoogleAuthenticationManager.tsx
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-07-03 21:50:56 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-07-03 21:50:56 +0530
commit1410392575b411f49601ce039787b6052542b711 (patch)
treee401bba0b3b42db7748a210f415c004d306a01ad /src/client/apis/GoogleAuthenticationManager.tsx
parent293c62ea3eccbeb2565960abb5ab02fabb5e20a0 (diff)
can now exit modal by clicking outside it
Diffstat (limited to 'src/client/apis/GoogleAuthenticationManager.tsx')
-rw-r--r--src/client/apis/GoogleAuthenticationManager.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/apis/GoogleAuthenticationManager.tsx b/src/client/apis/GoogleAuthenticationManager.tsx
index bf4469aeb..5a2bdb13b 100644
--- a/src/client/apis/GoogleAuthenticationManager.tsx
+++ b/src/client/apis/GoogleAuthenticationManager.tsx
@@ -157,6 +157,7 @@ export default class GoogleAuthenticationManager extends React.Component<{}> {
contents={this.renderPrompt}
overlayDisplayedOpacity={0.9}
dialogueBoxStyle={this.dialogueBoxStyle}
+ closeOnExternalClick={() => this.isOpen = false}
/>
);
}