The reader would not scroll twice this week, on a Hacker News item #450

Open
opened 2026-11-13 06:26:03 -08:00 by rays · 6 comments
Owner

Two scroll_stuck reports from rays@sdf1.net, both on hacker-news-top-feeds-2, in the reader:

  • 2026-11-11 00:17:45 UTC: top 163 of 491, drag -43px, started on p, under the finger p, inert none, dialog closed, transform none, peek gone, overflow auto, reading true, shown 99s ago, 12 loaded (trace 937430668f068d90a7cf510363299a78)
  • 2026-11-12 01:31:57 UTC: top 918 of 918, drag 175px, started on span, under the finger pre, inert none, dialog closed, transform none, peek gone, overflow auto, reading true, shown 186s ago, 9 loaded (trace 0584d332e2466b5c9d835f4eb6dce393)

Nothing in the state is wrong (no layer over it, nothing inert, no transform). The second was already at the bottom (918 of 918) dragging up, so it may be the end of the text; the first was mid-text, 163 of 491, and should have moved. Both started on text inside the item (p, a span over a pre). Found by the prod check.

$Q logs '{container="iPX"} |= "\"ev\":\"scroll_stuck\"" | json | line_format "{{.timestamp}} {{.user}} {{.feed}} {{.state}}"' 7d
Two `scroll_stuck` reports from rays@sdf1.net, both on hacker-news-top-feeds-2, in the reader: - 2026-11-11 00:17:45 UTC: top 163 of 491, drag -43px, started on p, under the finger p, inert none, dialog closed, transform none, peek gone, overflow auto, reading true, shown 99s ago, 12 loaded (trace 937430668f068d90a7cf510363299a78) - 2026-11-12 01:31:57 UTC: top 918 of 918, drag 175px, started on span, under the finger pre, inert none, dialog closed, transform none, peek gone, overflow auto, reading true, shown 186s ago, 9 loaded (trace 0584d332e2466b5c9d835f4eb6dce393) Nothing in the state is wrong (no layer over it, nothing inert, no transform). The second was already at the bottom (918 of 918) dragging up, so it may be the end of the text; the first was mid-text, 163 of 491, and should have moved. Both started on text inside the item (p, a span over a pre). Found by the prod check. ``` $Q logs '{container="iPX"} |= "\"ev\":\"scroll_stuck\"" | json | line_format "{{.timestamp}} {{.user}} {{.feed}} {{.state}}"' 7d ```
rays added the bug label 2026-11-13 06:26:03 -08:00
Author
Owner

9035306, deployed in ipx-web: a scroll_stuck report now also says where the finger began (x), how many touchmoves the page saw during the drag, whether the touch was cancelled, and how long since the reader was last slid by a swipe. A third report came 2026-11-16 17:56 on :all (top 0 of 6690, started on img), so it is not Hacker News alone. Left open for the next report to decide the fix.

9035306, deployed in ipx-web: a scroll_stuck report now also says where the finger began (x), how many touchmoves the page saw during the drag, whether the touch was cancelled, and how long since the reader was last slid by a swipe. A third report came 2026-11-16 17:56 on :all (top 0 of 6690, started on img), so it is not Hacker News alone. Left open for the next report to decide the fix.
Author
Owner

Confirmed good by the owner on 2026-11-17 after the swipe fixes (#471) and the added diagnostics (9035306). Closing; a new stuck-scroll report with the new fields reopens it.

Confirmed good by the owner on 2026-11-17 after the swipe fixes (#471) and the added diagnostics (9035306). Closing; a new stuck-scroll report with the new fields reopens it.
rays closed this issue 2026-11-17 06:00:16 -08:00
rays reopened this issue 2026-11-22 05:37:45 -08:00
Author
Owner

Three new reports with the added fields, so reopened as the close said:

  • 2026-11-18 18:06 jason, :all: top 771 of 2852, drag -113px, started on p, under the finger p, 50 loaded, from x 249, 4 moves seen, touch left alone, shown 106s ago.
  • 2026-11-19 18:37:17 rays, :signal:1: top 0 of 1835, drag -139px, started on p, under the finger li, from x 231, 4 moves seen, touch left alone, shown 82s ago. Four seconds after three quick next swipes (18:37:12-13, to 4/50 of 128). Trace 923db552e867bf90c7c09d71a890bd8c.
  • 2026-11-19 19:15:15 rays, :all: top 0 of 5064, drag -54px, started on div.dbody, under the finger p, from x 252, 2 moves seen, touch left alone, shown 1s ago (just back from the background). Trace 2c752d84dc906c703bd8435d4244f6ef.

Nothing inert, no dialog, no transform, no peek left behind, overflow auto; the page saw the finger move and did not cancel the touch, so the page is not holding the drag. Their slid 0s ago is wrong in all three (filed separately). Two had only 2-4 touchmoves, a fast flick, which may be a scroll the page had not seen yet when it read scrollTop.

Three new reports with the added fields, so reopened as the close said: * 2026-11-18 18:06 jason, :all: top 771 of 2852, drag -113px, started on p, under the finger p, 50 loaded, from x 249, 4 moves seen, touch left alone, shown 106s ago. * 2026-11-19 18:37:17 rays, :signal:1: top 0 of 1835, drag -139px, started on p, under the finger li, from x 231, 4 moves seen, touch left alone, shown 82s ago. Four seconds after three quick `next` swipes (18:37:12-13, to 4/50 of 128). Trace 923db552e867bf90c7c09d71a890bd8c. * 2026-11-19 19:15:15 rays, :all: top 0 of 5064, drag -54px, started on div.dbody, under the finger p, from x 252, 2 moves seen, touch left alone, shown 1s ago (just back from the background). Trace 2c752d84dc906c703bd8435d4244f6ef. Nothing inert, no dialog, no transform, no peek left behind, overflow auto; the page saw the finger move and did not cancel the touch, so the page is not holding the drag. Their `slid 0s ago` is wrong in all three (filed separately). Two had only 2-4 touchmoves, a fast flick, which may be a scroll the page had not seen yet when it read scrollTop.
Author
Owner

8afa79b (#488) makes the next report trustworthy: rechecked 300 ms on, so a flick iOS had not reported yet is not counted, and slid is right. Left open for the next report to decide the fix.

8afa79b (#488) makes the next report trustworthy: rechecked 300 ms on, so a flick iOS had not reported yet is not counted, and `slid` is right. Left open for the next report to decide the fix.
Author
Owner

Again on 2026-11-23 01:02:06 UTC, after #488 was deployed, in All Subscriptions: top 0 of 1828, drag -96px, started on p, under the finger p, inert none, dialog closed, transform none, peek gone, overflow auto, reading true, shown 4s ago, 1 loaded, from x 253, 5 moves seen in 75ms, touch left alone, slid never. Trace 2823b6923f8f71e9534bd1eff726ff14. A fresh reader (shown 4s ago, 1 loaded, at the top) with nothing over it and nothing inert: the touch reached the paragraph and the page left it alone, yet the reader never scrolled. The last swipes before it were an hour and a half earlier (23:23, end at 7/7). Found by $Q logs '{container="iPX"} |= "\"ev\":\"scroll_stuck\""' 7d.

Again on 2026-11-23 01:02:06 UTC, after #488 was deployed, in All Subscriptions: `top 0 of 1828, drag -96px, started on p, under the finger p, inert none, dialog closed, transform none, peek gone, overflow auto, reading true, shown 4s ago, 1 loaded, from x 253, 5 moves seen in 75ms, touch left alone, slid never`. Trace 2823b6923f8f71e9534bd1eff726ff14. A fresh reader (shown 4s ago, 1 loaded, at the top) with nothing over it and nothing inert: the touch reached the paragraph and the page left it alone, yet the reader never scrolled. The last swipes before it were an hour and a half earlier (23:23, `end` at 7/7). Found by `$Q logs '{container="iPX"} |= "\"ev\":\"scroll_stuck\""' 7d`.
Author
Owner

9e3ffd8, deployed in ipx-web: on a phone the reader drops its overflow for two frames after each open, and after a stuck drag is caught, so iOS builds its scroller again (the reports fit WebKit keeping a scroller sized for the content before). The report now says 'last stuck Ns ago': a second report seconds after a first means the re-arm did not free it. Left open until a week passes with no report.

9e3ffd8, deployed in ipx-web: on a phone the reader drops its overflow for two frames after each open, and after a stuck drag is caught, so iOS builds its scroller again (the reports fit WebKit keeping a scroller sized for the content before). The report now says 'last stuck Ns ago': a second report seconds after a first means the re-arm did not free it. Left open until a week passes with no report.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#450