mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
The split left this logic inline in use-task-page-github-detail.ts at its pre-STA-5949 shape: a 5s deadline whose expiry overwrote the remembered offset with the committed 0 -- the permanent-loss bug the extracted module's header says was removed -- observing only the children rather than the container, and with no MutationObserver, so late-mounting rows never retriggered a retry. The list scroll handler also blanket-returned while a restore was pending instead of classifying echoes, dropping a user's scroll during an unreachable restore. Promotes the module to a live path and wires the hook and scroll handler to it, which also gives the ten behavioral cases in the scroll-restore suite something live to assert against.