mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 23:50:02 +00:00
A hack fix for blocked popup.
This commit is contained in:
@@ -102,6 +102,8 @@ export default class MapboxGlMap extends React.Component {
|
||||
this.updateMapFromProps(this.props);
|
||||
|
||||
if(this.props.inspectModeEnabled !== prevProps.inspectModeEnabled) {
|
||||
// HACK: Fix for <https://github.com/maputnik/editor/issues/576>, while we wait for a proper fix.
|
||||
this.state.inspect._popupBlocked = false;
|
||||
this.state.inspect.toggleInspector()
|
||||
}
|
||||
if(this.props.inspectModeEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user