Skip to content

[Issue]: Author's Notes and manual Summary editors close when the mobile keyboard opens #2868

Description

@Romuromylus

Summary

On mobile, the Author's Notes editor and the manual Summary editor close the instant the on-screen keyboard opens, making it impossible to type into either field.

Expected behavior

Tapping into the Author's Notes textarea (or the Summary editor) should open the keyboard and keep the editing panel open so the user can type and save.

Actual behavior

The moment the textarea is tapped and the virtual keyboard appears, the panel closes. The user cannot edit author notes or write/edit a manual summary, and is forced to rely on automated summaries.

Steps to reproduce

  1. On a mobile device, open a Roleplay chat.
  2. Open the Author's Notes panel from the chat toolbar.
  3. Tap the author-notes textarea to start typing.
  4. Observe the panel closes as the keyboard opens.
  5. Repeat with the manual Summary editor — same result.

Environment

  • Marinara Engine version: 2.0.5
  • Install type: Termux
  • OS + version: Android 16
  • Browser or app shell: mobile (Android)

Logs, screenshots, or video

Reported in the community Discord. Mobile-only; not reproducible with a desktop pointer.

Additional context

The Author's Notes and Summary panels are portal-rendered floating panels that are dismissed by outside-pointer / resize-driven logic (AuthorNotesButton in packages/client/src/components/chat/ChatRoleplaySurface.tsx; SummaryPopover.tsx). On mobile the virtual keyboard resizes the viewport, which appears to recompute/clear the panel anchor and dismiss the panel while a field inside it is focused.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingin-prHas an open pull request targeting staging

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions