Skip to content

Commit

Permalink
wip: Fix canvas having wrong initial size on iOS Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
viliket committed Sep 4, 2023
1 parent b2f569b commit b2884b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/map/VehicleMapContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const VehicleMapContainer = ({
mapLib={maplibregl}
ref={mapRef}
reuseMaps
onLoad={(e) => e.target.resize()}
// Disable unneeded RTLTextPlugin that is set by react-map-gl by default
RTLTextPlugin=""
initialViewState={{
Expand Down

0 comments on commit b2884b9

Please sign in to comment.