mirror of
https://github.com/maputnik/editor.git
synced 2026-12-04 07:44:22 +00:00
Merge pull request #584 from orangemug/fix/issue-576
A hack fix for blocked popup
This commit is contained in:
1 file changed
+3
@@ -100,6 +100,9 @@ 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.
|
||||
// eslint-disable-next-line
|
||||
this.state.inspect._popupBlocked = false;
|
||||
this.state.inspect.toggleInspector()
|
||||
}
|
||||
if(this.props.inspectModeEnabled) {
|
||||
|
||||
Reference in new issue
Block a user