fix(annotations): empty dock overlay clipped thread panel content#8
Merged
Conversation
The right-side Threads dock was created and left visible (320px) even when no thread was docked, painting an invisible overlay over every floating panel and squeezing its content into a left strip. - dock is display:none by default; shown only via body.ai-tag-dock-open (added only when a panel is actually docked) - messages area sizes to content (flex:0 1 auto), no empty void - floating-panel positioning clamps to the viewport on all edges - removed backdrop-filter blur (fixed/draggable compositing artifact) - mobile panel height floored instead of collapsing 60vh Verified at 1280x800 via Playwright; smoke 22/22. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bug
The annotation Q&A panel opened with content squeezed into a narrow left strip and a large empty white box covering the right — reported with a screenshot.
Root cause
The right-side Threads dock was created and left visible (320px wide) even when no thread was docked, painting an invisible overlay over every floating panel. Dock visibility was managed via inconsistent inline
displaystyles.Fix
display:noneby default in CSS, shown only viabody.ai-tag-dock-open— added exclusively when a panel is actually docked, removed when empty.flex:0 1 auto) instead of growing to fill an oversized panel (no empty void).backdrop-filter: blur()(compositing artifacts on a fixed/draggable element) for a solid background.min-height,max-height:70vh) instead of a collapsing60vh.Verified
At 1280×800 via Playwright (the live preview iframe is 1px tall and can't validate layout): panel renders full-width; the previously-empty region now hit-tests to a message element, not the dock; docking still reflows the document (1280 → 960) and the dock shows only when used. Smoke 22/22.
🤖 Generated with Claude Code