TanStack / TanStack/tanstack.com

TanStack Router docs site freezes after every search

未关闭
#983 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
1.1k
派生
401
平均合并
18 小时 14 分钟
30 天内合并 PR
56

描述

Which project does this relate to?

Router

Describe the bug

After performing an AI powered search on the docs site, and dismissing the search dialog, the site locks up and the browser enters a frozen state.

Complete minimal reproducer

https://tanstack.com/router/latest

Steps to Reproduce the Bug
  1. Open search
  2. Perform an AI search on a query
  3. Dismiss the search dialog

The issue occurs reliably, on every search attempt. It occurs if you dismiss the dialog while the AI is generating, and also if you wait for the AI to fully complete before dismissing it.

Expected behavior

Normal site functionality after performing a search

Screenshots or Videos

Drag and drop is broken with firefox + wayland in arch linux, so I can't upload the file at the moment. Here's a link to the video uploaded to the TanStack Discord server

https://cdn.discordapp.com/attachments/1007702008448426065/1515350494678225026/2026-06-13_06-42-12.mp4?ex=6a2eaf9f&is=6a2d5e1f&hm=7fcc2837ecc992c2962444f1db6d742914bf86919b689cf1fe3c8a67a655761e&

Platform
  • Router / Start Version: Unknown / Docs site
  • OS: Arch Linux
  • Browser: Firefox
  • Browser Version: 151.0.4
  • Bundler: Unknown / vite?
  • Bundler Version: Unknown
Additional context

No response

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

https://tanstack.com/router/latest 开始,通过运行一次 AI 搜索,然后在生成期间和生成之后分别关闭对话框来重现卡死。跟踪文档站点搜索对话框在 frontend 中的关闭路径,并验证在任一流程之后站点的正常功能仍能响应。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
documentation, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。