Skip to content

fix: refresh alert map size on resize#226

Merged
m-julio merged 4 commits into
mainfrom
fix/171-alert-map-tiles
Jun 17, 2026
Merged

fix: refresh alert map size on resize#226
m-julio merged 4 commits into
mainfrom
fix/171-alert-map-tiles

Conversation

@momocentral

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Leaflet map size invalidator to refresh tiles when the map container mounts or resizes
  • Prevent blank map tile areas on large/responsive layouts

Fixes #171

Local checks

  • pnpm run format:check
  • pnpm lint
  • pnpm build

Note: pnpm test hits local EMFILE file-descriptor limits while importing MUI icon modules in this macOS shell; GitHub Actions should provide the authoritative test run.

@vercel

vercel Bot commented May 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
new-pyro-platform Ready Ready Preview, Comment Jun 17, 2026 5:21pm

@suyuen

suyuen commented May 23, 2026

Copy link
Copy Markdown
Contributor

Hi everyone! No screenshot to add here as it's just the same map, filling up the screen more on a really large screen. I tested it on my giant external monitor.

@theo-rodrigues-dev

Copy link
Copy Markdown
Collaborator

Thank you for your changes ! It looks good to me ! I added several comments in the code to make it clearer !

@m-julio m-julio merged commit ce84457 into main Jun 17, 2026
3 checks passed
@m-julio m-julio deleted the fix/171-alert-map-tiles branch June 17, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

On a large screen, part of the map background is not loaded.

4 participants