From f770304de86c06bbf5f0e405a6bcdaa2fb90faa4 Mon Sep 17 00:00:00 2001 From: Amanda Bullington <35536439+albullington@users.noreply.github.com> Date: Tue, 30 Jan 2024 16:54:58 -0800 Subject: [PATCH] Handle close & backdrop dismissal for Explore bottom sheet; closes #1075 (#1098) --- src/components/Explore/Explore.js | 32 ++++++++++--------- .../SharedComponents/Sheets/BottomSheet.js | 8 ++++- .../Sheets/RadioButtonSheet.js | 5 --- .../SharedComponents/Sheets/TextInputSheet.js | 5 --- .../SharedComponents/Sheets/TextSheet.js | 5 --- .../SharedComponents/Sheets/WarningSheet.js | 5 --- 6 files changed, 24 insertions(+), 36 deletions(-) diff --git a/src/components/Explore/Explore.js b/src/components/Explore/Explore.js index 5442d07ca..d65cdeaea 100644 --- a/src/components/Explore/Explore.js +++ b/src/components/Explore/Explore.js @@ -184,21 +184,23 @@ const Explore = ( { /> )} - {showExploreBottomSheet && ( - - {Object.keys( exploreViewText ).map( view => ( -