From 4e3b395b3d73b7159e1c790103c2ae24412e2dce Mon Sep 17 00:00:00 2001 From: orangemug Date: Sun, 27 Oct 2019 19:11:34 +0000 Subject: [PATCH] A hack fix for blocked popup. --- src/components/map/MapboxGlMap.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/map/MapboxGlMap.jsx b/src/components/map/MapboxGlMap.jsx index d5b221f..9ff1e2c 100644 --- a/src/components/map/MapboxGlMap.jsx +++ b/src/components/map/MapboxGlMap.jsx @@ -102,6 +102,8 @@ export default class MapboxGlMap extends React.Component { this.updateMapFromProps(this.props); if(this.props.inspectModeEnabled !== prevProps.inspectModeEnabled) { + // HACK: Fix for , while we wait for a proper fix. + this.state.inspect._popupBlocked = false; this.state.inspect.toggleInspector() } if(this.props.inspectModeEnabled) {