[GH-ISSUE #1468] Beholder: "Got it" on the first-open note closes Beholder when opened from the shortcut #746

Closed
opened 2026-10-20 17:30:20 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1468

Originally assigned to: @SpicyMarinara on GitHub.

Reported in Pasta-Devs/Marinara-Engine#7800.

Summary

When Beholder is opened from its shortcut (the Beholder bubble's control window in a Roleplay chat), pressing "Got it" or the x on the first-open note closes the whole Beholder window. Opened from the tracker page, the same press closes only the note.

Cause

BH.onboard.maybeShow() appends the note to document.body. The Engine's control window closes on any press outside itself, except presses on elements marked data-chat-floating-panel (the Beholder panel already carries that marker). The note has no marker, so pressing it minimizes the control window, the toolbar host element unmounts, and BH.dock.releaseHost() closes Beholder. The build menu (.beholder-bf-menu), also appended to document.body, has the same problem.

Expected

"Got it" and x close only the note. Beholder stays open.

Ownership

Package-side: the Engine host already exempts [data-chat-floating-panel] from outside-press closing, so the fix is to mark Beholder's body-level surfaces with that attribute.

Originally created by @SpicyMarinara on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1468 Originally assigned to: @SpicyMarinara on GitHub. Reported in Pasta-Devs/Marinara-Engine#7800. ## Summary When Beholder is opened from its shortcut (the Beholder bubble's control window in a Roleplay chat), pressing "Got it" or the x on the first-open note closes the whole Beholder window. Opened from the tracker page, the same press closes only the note. ## Cause `BH.onboard.maybeShow()` appends the note to `document.body`. The Engine's control window closes on any press outside itself, except presses on elements marked `data-chat-floating-panel` (the Beholder panel already carries that marker). The note has no marker, so pressing it minimizes the control window, the toolbar host element unmounts, and `BH.dock.releaseHost()` closes Beholder. The build menu (`.beholder-bf-menu`), also appended to `document.body`, has the same problem. ## Expected "Got it" and x close only the note. Beholder stays open. ## Ownership Package-side: the Engine host already exempts `[data-chat-floating-panel]` from outside-press closing, so the fix is to mark Beholder's body-level surfaces with that attribute.
bsakaguchi 2026-10-20 17:30:20 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 19, 2026):

Fixed on staging by #1469.

<!-- gh-comment-id:6265485782 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): Fixed on staging by #1469.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#746
No description provided.