From 16821c6a51c8fab220d1964b280c025dbeb442a3 Mon Sep 17 00:00:00 2001 From: kant imam Date: Tue, 3 Nov 2020 18:36:51 +0100 Subject: [PATCH] =?UTF-8?q?fix(WelcomeStepsModal):=20Postal=20code=20entry?= =?UTF-8?q?=20not=20working=20when=20other=20moda=E2=80=A6=20(#354)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(WelcomeStepsModal): Postal code entry not working when other modal is open fixed * removed debug value from CovMap.tsx --- src/components/CovMap.tsx | 1 + src/components/WelcomeStepsModal/WelcomeStepsModal.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/CovMap.tsx b/src/components/CovMap.tsx index 7b2cf07f..f3a097b0 100644 --- a/src/components/CovMap.tsx +++ b/src/components/CovMap.tsx @@ -300,6 +300,7 @@ export const CovMap = () => { touchAction: "none", position: "absolute", }} + disableEnforceFocus container={() => document.getElementById("mapParentDiv")} BackdropProps={{ style: { position: "absolute" } }} > diff --git a/src/components/WelcomeStepsModal/WelcomeStepsModal.tsx b/src/components/WelcomeStepsModal/WelcomeStepsModal.tsx index 34ec594c..e4b93c13 100644 --- a/src/components/WelcomeStepsModal/WelcomeStepsModal.tsx +++ b/src/components/WelcomeStepsModal/WelcomeStepsModal.tsx @@ -65,9 +65,10 @@ export const WelcomeStepsModal: React.FC<{ subPage?: string }> = (props) => { return (
- +