Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Search modal renders beneath the open AI dock (shared --z-overlay)

未关闭 适合新手
#1,293 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@tombeckenham 已经在做这个了。

开始于 2026年9月24日。

  • #1294 来自 @tombeckenham —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
90/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
css, typescript
领域
frontend

调研方向

问题位于 src/components/SearchModal.tsx 的第 401 行和 src/components/AiDock.tsx,两者使用了相同的 z-index 变量。检查 src/styles/app.css 中的 z-index 令牌:--z-overlay 为 1000,--z-above-overlay 为 1200。将搜索模态内容的 z-index 更改为使用 --z-above-overlay。通过本地运行站点、打开 AI 停靠栏并使用 Cmd+K 来验证修复,查看搜索模态是否渲染在其上方。

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

描述

Bug

With the AI dock open, opening the search modal (Cmd+K) paints the dock's Sources chips over the search palette. Screenshot: the "Sources" chip list bleeds across the search header and results.

Cause

SearchModal content and AiDock root both sit at z-[var(--z-overlay)] (1000), so nothing guarantees the modal paints above the dock.

  • src/components/SearchModal.tsx:401search-modal-content fixed z-[var(--z-overlay)] ...
  • src/components/AiDock.tsx dock root — fixed top-[var(--navbar-height)] right-0 bottom-0 z-[var(--z-overlay)] ...
  • Tokens in src/styles/app.css: --z-scrim: 999, --z-overlay: 1000, --z-above-overlay: 1200

The search panel is bg-black/95, so the chips are genuinely painting above it, not bleeding through.

Fix

Smallest change: raise the search modal content to z-[var(--z-above-overlay)] and its overlay one step below, so the palette always sits over the dock. Alternative: close the dock when the search modal opens.

Reproduces on main; not introduced by ai-dock-agent-studio.

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

贡献指南

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

从这里开始

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

TanStack/tanstack.com 的其他 Issue

查看 TanStack/tanstack.com 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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