mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:45:28 +01:00
Merge pull request #584 from orangemug/fix/issue-576
A hack fix for blocked popup
This commit is contained in:
commit
06898429fd
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue