fix: metadata viewer popup clipped by overflow-hidden parent

The MetadataViewer popup was rendered inside the message bubble which has
overflow-hidden, causing the popup to be invisible. Fix by using
createPortal to render the popup directly on document.body with fixed
positioning. Also adds click-outside-to-close behavior.

Closes feedback #46
This commit is contained in:
Nicolas Varrot
2026-02-12 23:22:05 +00:00
parent d03a02351f
commit 9f67c9e5dc
2 changed files with 37 additions and 5 deletions

View File

@@ -491,3 +491,12 @@
- Check the gateway WebSocket session/handshake data for avatar info
- Fallback to the current default icon if no avatar is configured
- Should also appear in the header next to the agent name
## Item #46
- **Date:** 2026-02-12
- **Priority:** high
- **Status:** in-progress
- **Description:** Bug: metadata viewer ( button) doesn't work
- Clicking the info button on messages does nothing — no panel appears
- Introduced in v1.15.0 (commit `b4813f0`)
- Fix the click handler / panel display logic