Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Markdown preview layout jumps/reflows, shifting action buttons and causing an unintended ‘Undo file’ click.
Steps to Reproduce
After agent is updating ReadMe.md and wanting to review, switching between preview and markdown mode is shifting the Keep-all-changes/Undo File buttons in a way that is very easy to click on Undo File instead of preview/markdown mode.
I did accidentally Undo the changes more than once
Expected Behavior
Buttons under the mouse cursor should not change unpredictable.
Screenshots / Screen Recordings

Operating System
Windows 10/11
Version Information
Version: 3.21.16 (user setup)
VS Code Extension API: 1.128.0
Commit: 8ae78e8eee1e63479c7e0504b664bc0a80c68000
Date: 2026-09-19T06:43:22.276Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
No - Cursor works, but with this issue
