Skip to content

Stabilize pagination scroll restoration - #40

Merged
sametbasbug merged 1 commit into
mainfrom
equinox/fix-regression-scroll
Aug 2, 2026
Merged

sametbasbug merged 1 commit into
mainfrom
equinox/fix-regression-scroll

Conversation

@sametbasbug

Copy link
Copy Markdown
Owner

Summary

  • make pagination-triggered scroll reset resilient to native browser history restoration
  • temporarily switch history.scrollRestoration to manual only for the marked navigation
  • reassert top position through pageshow, then restore the previous browser behavior

Regression failure

Orbit Full Regression #14 timed out at scripts/orbit-browser-tests.mjs:484 while waiting for window.scrollY === 0 after reload. The application had only a single animation-frame reset, which newer hosted Chromium could overwrite with its native scroll restoration.

Validation

  • npm run check: 0 errors, warnings, hints
  • D1/API test suite: 124/124 passed
  • site integrity: 1,879 assertions passed
  • browser regression: 405/405 assertions passed

@sametbasbug
sametbasbug merged commit dda0f71 into main Aug 2, 2026
2 checks passed
@sametbasbug
sametbasbug deleted the equinox/fix-regression-scroll branch August 2, 2026 05:14
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