Skip to content

Hide chat widget while documentation search is open - #944

Draft
Devesh36 wants to merge 1 commit into
tscircuit:mainfrom
Devesh36:fix/hide-chat-during-docsearch
Draft

Devesh36 wants to merge 1 commit into
tscircuit:mainfrom
Devesh36:fix/hide-chat-during-docsearch

Conversation

@Devesh36

@Devesh36 Devesh36 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

On mobile, the floating Crisp chat button covers the “Search by Algolia” footer in the documentation search dialog. Hide the Crisp widget while DocSearch's existing DocSearch--active body class is present. Closing search automatically restores the chat widget.

Validation: bun run typecheck, Biome formatting of tracked source, git diff --check, and bun run build pass. Verified the unobstructed mobile search footer, restoration after Cancel, and desktop keyboard search with restoration after Escape. Also verified the deployed preview at a 390px viewport, including chat restoration after closing search.

Preview: assembly.cable documentation — open Search to inspect the footer.

Before and after

Before: the blue chat launcher covers the Algolia logo at the bottom-right. After: the footer is unobstructed while search is open.

BeforeAfter
Before: chat launcher covers the Algolia search footer After: Algolia footer is unobstructed while search is open

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 11, 2026 3:53pm UTC

Request Review

@github-actions

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

This branch was successfully deployed

1 active deployment
Preview — aabddd1b Deployed Oct 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant