Skip to content

Commit

Permalink
force resize on outer container change
Browse files Browse the repository at this point in the history
  • Loading branch information
0x41head committed Jun 1, 2024
1 parent 4fe9925 commit fb6ab1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Navigation/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ class Navigation extends Component {
attributionControl={false}
dragRotate={false}
onError={(err) => this.setState({ mapError: err.error.message })}
onRender={(event) => event.target.resize()}
>
<GeolocateControl
ref={this.geoControlRef}
Expand Down

0 comments on commit fb6ab1d

Please sign in to comment.