ProfessionalWiki / ProfessionalWiki/Maps
Leafet maps only partially render when in non-displayed tabs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
I am using the Tabs extension, https://www.mediawiki.org/wiki/Extension:Tabs, with a Leaflet map on one of the later tabs. When I load the page, the map starts to render, but then the Tabs logic comes into play, and the first tab is shown, and the map hidden as the page reshuffes. When I choose the Map tab, it just shows a partial map, with only a few tiles done, presumably because it was interrupted. See https://fanbase.johnbray.org.uk/Category:Novacon. It works if the map is in the first tab, but that does not fit in my design. How can I persuade it to finish?
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue on the linked Category:Novacon page with the MediaWiki Tabs extension and a Leaflet map in a later tab. Start by comparing rendering in the first tab with rendering after selecting the Map tab. Done means the later-tab map finishes rendering all tiles rather than remaining partial.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100