Markdown file scrolls back up unexpectedly

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Markdown file scrolls back up after switching to it

Steps to Reproduce

  1. Open markdown file
  2. Scroll down on that file
  3. Switch to another file tab
  4. Switch back to the markdown file tab
  5. Markdown file has scrolled all the way back up

Expected Behavior

Markdown file should stay in the same scroll position as it was when I left it

Operating System

MacOS

Version Information

Version: 3.16.17
VS Code Extension API: 1.128.0
Commit: 6b2afae0257df2bb5e1835f15165dc2f0de056b0
Date: 2026-08-14T01:41:12.803Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

same issue with PRs that are opened in the Agents Window

Hi @Ian_T!

Thanks for flagging this. We’re already tracking the Markdown file issue, and I’ve added your report to it. In the meantime, if you switch to Markdown mode rather than Preview mode, the scroll position is sticky — not ideal, but it works!

I can reproduce this too. We recently shipped a fix that preserves the scroll position when you switch to the Changes tab and back, but it doesn’t appear to work when you switch to a file and back. I’ve flagged it for the team.

hey Colin, I don’t notice the issue with PRs anymore btw! also thanks for the suggestion