mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 14:16:28 +03:00
scrollTo(y) clamps to the current document.scrollHeight, which is several hundred pixels short of the final value until async-loaded fonts swap in (Cormorant Garamond italic grew consulting-section layout by ~585px in the logs). The initial synchronous scroll was clamping to ~6165 even though the Go-time target was 6749.5. Retry on document.fonts.ready and on the window load event, both of which fire once the document reaches its final height. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>