Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

map offset in IOS app (PWA) [react-map-gl] #659

Open
vladimirHlobshastyi opened this issue Sep 6, 2022 · 0 comments
Open

map offset in IOS app (PWA) [react-map-gl] #659

vladimirHlobshastyi opened this issue Sep 6, 2022 · 0 comments

Comments

@vladimirHlobshastyi
Copy link

When the PWA application is opened for the second and subsequent times rendering in IOS(15.6.1) the map is offset in display.

The problem is starting only in IOS (Iphone 10/11/12)

In order for the map to display correctly, you need to turn the smartphone horizontally, the map is re-rendered to the new screen resolution, then return the smartphone vertically. Then the map is re-rendered correctly

Configuration
"react-map-gl": "^7.0.11",
"mapbox-gl": "^2.8.2",
iOS/macOS versions: IOS(15.6.1)
Device/simulator models: Iphone 10/11/12

photo_5238094822772949409_y

Screenshot from 2022-09-06 13-46-43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant