diff --git a/CHANGELOG.md b/CHANGELOG.md index f36b2eff..e3199d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - The map's data listener now fires on tile loads again, so source and vector layer field autocompletion is populated - The `maputnik` desktop binary now opens the default browser automatically on startup (opt out with `--no-browser`) - Keyboard shortcuts now keep working while the map has focus, instead of going dead until the map is blurred +- The map no longer stays blank on load until it is moved, when the style loads before the map is ready - _...Add new stuff here..._ ## 3.1.0 diff --git a/src/components/MapMaplibreGl.tsx b/src/components/MapMaplibreGl.tsx index d6135b35..f86d8fd4 100644 --- a/src/components/MapMaplibreGl.tsx +++ b/src/components/MapMaplibreGl.tsx @@ -107,7 +107,7 @@ class MapMaplibreGlInternal extends React.Component key !== "zoom" && this.state[key] !== nextState[key]); } catch(_e) { // no biggie, carry on }