From 150a0745785f5fc7918538d2f2568fa063cec763 Mon Sep 17 00:00:00 2001 From: sravan Date: Sun, 19 Jul 2026 08:21:34 +0530 Subject: [PATCH] mobile: stop the open-pin schedule the instant the user scrolls (batch131) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: for ~3.4s after opening a chat, the "keep newest in view as images load" pin schedule would yank you back to the bottom if you tried to scroll up for older history — so scrolling up snapped back to latest, and only worked once the schedule expired (~5s). Fix: the user's first scroll gesture now sets _openScrolled, which cancels the pending pin timers and short- circuits _pinNewest (so the late image-load pins stop too). loadOlder/anchor then works immediately, no yank. Co-Authored-By: Claude Opus 4.8 --- server/public/home.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/server/public/home.html b/server/public/home.html index 0274ac0..0d1fb1c 100644 --- a/server/public/home.html +++ b/server/public/home.html @@ -1146,7 +1146,7 @@ -