Skip to content

fix(web): smooth Home navigation in WebKit and Firefox - #75

Merged
blurbery merged 2 commits into
mainfrom
fix/webkit-home-item-motion
Aug 30, 2026
Merged

blurbery merged 2 commits into
mainfrom
fix/webkit-home-item-motion

Conversation

@blurbery

@blurbery blurbery commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • keep Chrome and Edge on their established navigation path
  • give WebKit a dedicated paint boundary so Safari and Orion do not coalesce the compensated and animated sidebar states
  • keep cached Home carousel trees deferred until the live return transform finishes in WebKit and desktop Firefox
  • retain the existing hard deadline and reduced-motion bypass so interrupted transitions cannot strand Home on placeholders

Why

Safari and Orion were rebuilding cached Home rows while the sidebar returned, and WebKit could coalesce the compensated and animated transform states. Firefox used the correct transform handoff but still rebuilt 577 Home item links before the animation could get moving. Both problems showed up as a jump or stall on Back.

This does not retain Home, clone DOM, add page snapshots, introduce a new cache, or add blur. Home mounts fresh and uses its existing fixed-height opaque row placeholders. Only the heavy cached card trees wait until the live transform is complete. Opening remains on the established path in Firefox, Chrome, and Edge.

Real Safari benchmark

Safari 26.5.2 via Apple SafariDriver, 1440px desktop width, authenticated local Silo library, ten repeated Home to item to Home cycles.

Metric Before After
Item links mounted in the critical Back handoff 157 1
Worst measured Back transition frame 70 ms 26 ms
Back transition frames over 50 ms Present 0/10 cycles
Layout shifts 0 0

Eight of ten final Back cycles had a worst transition frame of 17 to 18 ms.

Real Firefox benchmark

Firefox 154.0.1 via Mozilla geckodriver 0.37.1, 1440px desktop width, the same authenticated library, ten repeated Home to different item to Home cycles.

Metric Before After
Return transform start 116 to 143 ms 44 to 50 ms
Cycles with a frame over 50 ms before or during the live return transform 7/10 0/10
Frames over 50 ms in the full 1.35 s return sample 7 3, all after the transform while rows filled
Opening cycles with a frame over 50 ms 0/10 0/10
Layout shift score 0 0

Firefox keeps its original one-frame open and Back handoff. The change only moves cached Home row reconstruction out of the live return motion.

Safety and validation

  • transform completion, transition cancellation, missing-stage handling, and a 760 ms hard deadline all release row restoration
  • reduced motion bypasses the gate
  • Chromium has an explicit regression test proving its Home rows are not gated
  • Firefox iOS remains on the WebKit path; desktop Firefox requires both Gecko and Firefox product tokens
  • 120 focused navigation, Home, sidebar, detail, and skeleton tests
  • TypeScript project check
  • ESLint with 0 errors
  • 10 repeated real-Safari cycles and 10 repeated real-Firefox cycles
  • manual Orion and Firefox verification

AI disclosure

  • Tool: OpenAI Codex desktop
  • Involvement: AI-assisted implementation, tracing, tests, and PR preparation
  • blurbery orchestrated, directed, and manually verified the behavior
  • real-browser diagnosis used Apple SafariDriver and Mozilla geckodriver

@blurbery blurbery changed the title fix(web): smooth Home navigation in WebKit fix(web): smooth Home navigation in WebKit and Firefox Aug 30, 2026
@blurbery
blurbery merged commit 35656d8 into main Aug 30, 2026
3 checks passed
@blurbery
blurbery deleted the fix/webkit-home-item-motion branch November 6, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant