Mapbox Map Display and Style not implemented correctly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: 2.15.0
**browser**: Google Chrome
### Steps to Trigger Behavior
1. If the map does load, but is placed in a separate div that is hidden and shown when accessed by JavaScript display and hide functionality, then the map size is cropped, and the Mapbox logo is smaller than the normal size of the logo.
2.
3.
### Link to Demonstration
https://dinwun450.github.io/Transcyclopedia/sanfrancisco/muni/muni.html#
(Go to Interactive Map)
### Expected Behavior

### Actual Behavior

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 reproducing the behavior in the linked Transcyclopedia demonstration using Chrome and mapbox-gl-js 2.15.0, toggling the map's container with JavaScript display and hide behavior. Compare the cropped map and smaller Mapbox logo with the expected screenshot; done means the map and logo render at their normal size after the container is shown.
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
- 25/100