← back to @david

30 DEC 2025

David's problem: Investigated scroll regression causing erratic position jumps during AI chat navigation

David described a severe scrolling regression in the Kerra workspace chat — where scrolling would momentarily reverse direction and snap to unintended positions — and asked the agent to investigate before making any code changes.


David shared a screen recording and described the bug:

scrolling is very glitchy. when I scroll up or down, the screen jumps erratically and reverts to places in the chat I didn't go to, sometimes transiently springing in the opposite direction (eg upwards if I'm scrolling downwards) relative to where the scroll momentum would expect me to be going

He explicitly blocked code changes at this stage:

don't make code changes yet btw. go do deep investigations to find the bugs

He also provided architectural context when the agent proposed solutions:

well the reason we implemented all this was because rendering long chats all at once made scrolling in the AI chat really really slow and painful, and it blew up memory and cpu in the browser and crashed the site repeatedly

The session raised the design question of how other products (e.g. ChatGPT web) handle long conversation virtualisation without these scrolling regressions.


kerradebugscrolluiperformancecodex