From 6544af13a7b159d66e64c4e508cc51470fdc427d Mon Sep 17 00:00:00 2001 From: Hayk Arzumanyan <84230050+haykdevx@users.noreply.github.com> Date: Tue, 2 Jun 2026 17:33:17 +0400 Subject: [PATCH] fix: make landing page footer reachable past scroll-snap (#1118) scroll-snap-type: y mandatory (docs/index.html:28) forces the viewport to always rest on a snap point. The footer is far shorter than a viewport, so scrolling down past the last min-height:100vh section snaps back to that section's start and the footer can never settle in view. Switch the snap type to 'proximity' so sections still snap when the user is near them but the footer (and any sub-viewport tail) is freely reachable. Fixes #8 Co-authored-by: Claude Opus 4.8 (1M context) --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 8c6a21d89..540237840 100644 --- a/docs/index.html +++ b/docs/index.html @@ -25,7 +25,7 @@ --radius: 8px; } * { box-sizing: border-box; } - html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scroll-padding-top: 60px; } + html { scroll-behavior: smooth; scroll-snap-type: y proximity; scroll-padding-top: 60px; } /* Each section is a full-viewport "page" with its content centered, so only one shows at a time and the snap is obvious. */ .hero, section {