Skip to content

[Bug]: Markdown preview table of contents links open a new thread instead of scrolling to headings #13946

Description

@odzangba

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

Clicking a table of contents link in T3 Code’s built-in Markdown preview opens a new thread instead of jumping to the linked heading.

Steps to reproduce:

  1. Open a Markdown document containing a linked table of contents in T3 Code.
  2. Switch to the rendered Markdown preview.
  3. Click a table of contents entry whose destination is a heading fragment, such as #1-operating-model.

Expected behavior

Expected behavior: The preview scrolls to the linked heading while keeping the current thread open. Heading links should stay within the Markdown preview. If a target is missing, clicking the link should preserve the current thread and document.

Actual behavior

Actual behavior: T3 Code opens a new thread instead. This makes tables of contents unusable for navigating long documents and interrupts the current thread.

Impact

Blocks work completely

Version or commit

T3 Code desktop app 0.0.43-nightly.20260926.2282

Environment

T3 Code desktop app 0.0.43-nightly.20260926.2282 on Linux (KDE Neon 24.04)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions