Interactive interface for browsing global, full-resolution satellite imagery
manually add the clickable behind modal class to get the intended behavior
Jason Kentbb8269c310c9
diff --git a/web/js/containers/sidebar/layer.js b/web/js/containers/sidebar/layer.jsindex 27202403e..01539a7b6 100644--- a/web/js/containers/sidebar/layer.js+++ b/web/js/containers/sidebar/layer.js@@ -344,7 +344,9 @@ const mapDispatchToProps = dispatch => ({headerText: title || 'Layer Options',backdrop: false,bodyComponent: LayerSettings,- clickableBehindModal: true,+ // Using clickableBehindModal: true here causes an issue where switching sidebar+ // tabs does not close this modal+ wrapClassName: 'clickable-behind-modal',modalClassName: ' layer-info-settings-modal layer-settings-modal',timeout: 150,bodyComponentProps: {@@ -363,7 +365,9 @@ const mapDispatchToProps = dispatch => ({headerText: title || 'Layer Description',backdrop: false,bodyComponent: LayerInfo,- clickableBehindModal: true,+ // Using clickableBehindModal: true here causes an issue where switching sidebar+ // tabs does not close this modal+ wrapClassName: 'clickable-behind-modal',modalClassName: ' layer-info-settings-modal layer-info-modal',timeout: 150,bodyComponentProps: {