Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open Beginner friendly
#1,293 0 comments 0 reactions 0 assignees View on GitHub

@tombeckenham is already working on this.

Since Sep 24, 2026.

  • #1294 by @tombeckenham — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
css, typescript
Domain
frontend

Research direction

The issue is in src/components/SearchModal.tsx at line 401 and src/components/AiDock.tsx, both using the same z-index variable. Check the z-index tokens in src/styles/app.css: --z-overlay is 1000, --z-above-overlay is 1200. Change the search modal content's z-index to use --z-above-overlay. Verify the fix by running the site locally, opening the AI dock, and using Cmd+K to see the search modal render above it.

Written by the indexing model from the issue text.

Description

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:401 — search-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.

Dominant language
TypeScript
Stars
1.1k
Forks
401
Avg merge
16h 8m
Merged PRs (30d)
58

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TanStack/tanstack.com

All issues in TanStack/tanstack.com

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.