When changing the style on a complex choropleth extrusion layer while zooming and panning the map using `flyTo` the browser crashes and/or freezes up my machine.
Open
Nobody has claimed this yet.
environment-specific :desktop_computer:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
When changing the style on a complex choropleth extrusion layer while zooming and panning the map using flyTo the browser crashes and/or freezes up my machine.
mapbox-gl-js version: 1.0
browser: Chrome version 74.0.3729.169 (Official Build) (64-bit), MacOS 10.13.6
Steps to Trigger Behavior
- Open index_crash.html
- See the scroll bar on top right. Scroll through until you get to the section for "Risk Areas"
- Scroll to the next section for "Loubiere"
- Quickly go back and forth between Loubiere and Risk Areas.
- Browser will freeze / crash. Sometimes my whole machine will crash.
Link to Demonstration
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by opening the provided index_crash.html demonstration and reproduce the freeze while switching between the “Risk Areas” and “Loubiere” sections with flyTo. Trace the style changes and map movement in the demonstration against the mapbox-gl-js rendering path; done means the same interaction no longer freezes or crashes the browser.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100