Repository navigation
Mobile fixes: framing, on-demand rendering, context loss, safe areas - #13
Merged
Merged
Conversation
… on demand; survive GPU context loss - camera fits the selection into the rectangle not covered by the top bar, side panels or the measured bottom sheet (ResizeObserver), instead of fixed screen fractions - frameloop="demand": an idle map renders nothing (battery, heat on phones) - smaller shadow map on touch / low-memory / few-core devices; PCF shadows (soft was removed) - webglcontextlost -> list fallback instead of a frozen canvas - viewport-fit=cover with safe-area padding; touch-action: manipulation (no double-tap zoom) - expanded sheet capped at 60dvh so the map stays usable; gate plaque shortened on phones - floor-plan room labels stay mounted (fade by zoom) instead of remounting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🔎 Preview for |
…i-Fi Next blocks dev assets for origins other than localhost; on http://<mac-ip>:3000 the client never hydrated and the map stayed on the loading placeholder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… zoom, full-bleed map - one bottom sheet (peek / half / full) holds search, the building list and building details; drag or flick between snaps, animated with transforms; peek is sized to its header - 1:1 two-finger pinch anchored at the fingers' midpoint (camera-controls' eased pinch was slow) - map uses the large viewport (h-lvh) so it runs under Safari's floating toolbar - only the level toggle and language float over the map; old phone list panel and sheet removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…top keeps 2×2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ner, no page scroll) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…errors); Home Screen web app - Label.tsx: span over the canvas, positioned per rendered frame; drei Html created a React root per label and unmounted it synchronously, which React logged as an error (the dev overlay's issues) - manifest + apple-icon + appleWebApp meta: Add to Home Screen opens the map full screen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
raulkolaric
added a commit
that referenced
this pull request
Oct 11, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mobile fixes, found by stepping through every phone state on an emulated iPhone 13 (overview, list, peek, expanded sheet, floor view, lower level, search) and on the production build.
Bugs fixed
touch-action: manipulation; pinch-zoom still works.Robustness on weaker devices
frameloop="demand": the map draws a frame only when something changes, so an idle map costs no GPU or battery. Only the entrance pulse asks for frames on its own.viewport-fit=cover, with safe-area padding on the top bar, list, level toggle and sheet.Checked
<Html>labels, so they're dev-only.🤖 Generated with Claude Code