mapbox / mapbox/mapbox-gl-js

MapboxGL freezes (crashes) when changing coordinates

Open
#12,281 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

environment-specific :desktop_computer: needs information :pray:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

MapboxGL freezes (crashes) when changing coordinates or city via Sensors developer tools (Chrome)

I checked both on the map in the official documentation, and on many sites where Mapbox is used. The problem is global

Play steps:
1. Open the site with the Mabox map through the Chrome browser
2. Open Developer Tools
3. Open the "Sensors" tab
4. Change the coordinates (or the city itself) through "Sensors"

Actual Result: Site completely freezes, including non-map related elements

![mapbox](https://user-images.githubusercontent.com/52852548/194231266-a4a8bec3-97a2-48a1-9061-e82d4ef980bf.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the freeze using the official documentation map in Chrome with Developer Tools' Sensors tab, changing coordinates or cities. Trace the map's response to those coordinate changes and verify that the page, including non-map elements, remains responsive afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.