PostHog / PostHog/posthog

scroll position issues

Open
#76,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

problem

Papercut: PC doesn’t remember scroll depth. When I scroll up in a long task, switch tabs or desktops, and return, I am back at the bottom

https://posthog.slack.com/archives/C09G8Q32R6F/p1777407860588259

notes

i suspect a few things could be happening:

  • auto-scroll-to-bottom on window focus
  • auto-scroll-to-bottom when new messages come in

we should just review all this behavior and make sure it all makes sense, i.e. if the user scrolls to a specific point that is not the bottom, disable auto-scrolling til they get back to the bottom

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the task message view and its scroll, window-focus, tab-switching, and new-message behavior; then verify that returning to a saved position prevents auto-scrolling until the user reaches the bottom.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.