From a09c53d820de74588c15088640c19ed6f84f08da Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Mon, 21 May 2018 14:58:53 -0400
Subject: [PATCH] Add fullscreen mode to modal visibility check

---
 src/containers/blocks.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx
index 00c395726..20c0c19fc 100644
--- a/src/containers/blocks.jsx
+++ b/src/containers/blocks.jsx
@@ -445,7 +445,8 @@ Blocks.defaultProps = {
 };
 
 const mapStateToProps = state => ({
-    anyModalVisible: Object.keys(state.modals).some(key => state.modals[key]),
+    anyModalVisible: Object.keys(state.modals).some(key => state.modals[key]) ||
+            state.mode.isFullScreen,
     extensionLibraryVisible: state.modals.extensionLibrary,
     locale: state.intl.locale,
     messages: state.intl.messages,
-- 
GitLab