Preview the markdown causes close the chat

Describe the Bug

click the preview for the markdown , then the chat dialogue will close auto which I must call and click the chat by myself.

Steps to Reproduce

click the preview for the markdown , then the chat dialogue will close auto which I must call and click the chat by myself.

Expected Behavior

do not close my dialogue

Operating System

MacOS

Version Information

Version: 3.22.7
VS Code Extension API: 1.128.0
Commit: 37076c6c3f9e253c0fa2305197e45befd13a2260
Date: 2026-09-24T05:01:24.589Z
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: Darwin arm64 25.6.0

also: 3.21.8

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey @zhaoxi2000, thanks for following up, and sorry this is still happening on 3.22.7.

This is the same issue from your earlier thread: when chat is shown as tabs, the Preview / Markdown toggle can act on whichever tab has focus. If your cursor is still in the chat input when you click Preview, the chat tab gets swapped out and the chat panel closes. It’s still being tracked, and I’ve added your new report to it.

Until it’s fixed, either of these avoids it:

  1. Click once inside the markdown file itself, then click Preview.
  2. Or turn off chat tabs: Cursor Settings > General > “Open Chat as Editor Tabs”. With chat as a regular side panel, Preview no longer affects it.

If the chat does close, your conversation isn’t deleted. You can reopen it from the chat history.