mapbox / mapbox/mapbox-gl-js

After performing a map resize with certain map dimensions in Chrome, parts of the map are left gray (unloaded)

Open
#10,158 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug :lady_beetle: needs investigation :mag:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**: 1.12.0

**browser**: Chrome 87.0.4280.88 on Mac

### Steps to Trigger Behavior

1. Load the page. This page is configured to wait until the map is loaded, then wait 1 second more for good measure, then attempt to resize the map.
2. The left-hand side of the map appears gray and unloaded, as if some tiles are missing.

### Link to Demonstration
[https://jsbin.com/jeralezugi/edit?html,output](https://jsbin.com/jeralezugi/edit?html,output)

### Expected Behavior
The map loads normally.

### Actual Behavior
The left-hand side of the map appears gray and unloaded, as if some tiles are missing.

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

Start with the linked JSBin reproduction and investigate the map resize path after the map-loaded wait, using the reported Chrome version and map dimensions. Done means the demonstrated resize leaves no gray or unloaded regions and the map renders normally.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.