[GH-ISSUE #6039] [Issue]: Echo Chamber crash and iPhone native text selection interference #3346

Closed
opened 2026-10-21 06:02:11 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6039

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Fix an intermittent chat UI crash and preserve native iPhone text selection. Also clarify that the Roleplay notes command can edit an existing note by replacing its contents.

Implementation owner: @SpicyMarinara (Codex), requested by the maintainer. No matching open or draft PR was found before starting.

Expected behavior

  • A malformed Echo Chamber reaction must not crash the chat; valid reactions should remain usable.
  • Native iPhone text-selection handles should work without the app jumping to the latest message, changing swipes, or taking over the selection gesture.
  • The notes command should clearly tell characters how to update their existing private notes.

Actual behavior

  • The UI occasionally throws undefined is not an object (evaluating 't.characterName.length').
  • Dragging native iPhone selection handles can cause the viewport to scroll to the bottom and makes selection difficult.
  • The existing command says a new note replaces the old one, but its editing instructions could be clearer.

Steps to reproduce

  1. Use a chat with Echo Chamber enabled; a reaction without a character name reaches the client queue and the name-color loop reads its missing name.
  2. On iPhone, select chat text or text being edited and adjust the native selection handles.
  3. Observe unwanted scrolling while extending the selection. The exact iOS version and a deterministic physical-device reproduction were not supplied.

Environment

  • Marinara Engine version: not specified by reporter; investigating current staging
  • Install type: not specified
  • OS + version: iPhone, iOS version not specified
  • Browser or app shell: mobile browser, exact browser not specified

Logs, screenshots, or video

Reported error: undefined is not an object (evaluating 't.characterName.length').

Additional context

Keep the fixes small, reuse existing chat behavior, add runnable regression proof, and land the PR on staging. Native iOS selection-handle behavior needs physical-device verification; browser automation can cover selection state, scroll preservation, and gesture conflicts.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6039 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Fix an intermittent chat UI crash and preserve native iPhone text selection. Also clarify that the Roleplay notes command can edit an existing note by replacing its contents. Implementation owner: @SpicyMarinara (Codex), requested by the maintainer. No matching open or draft PR was found before starting. ## Expected behavior - A malformed Echo Chamber reaction must not crash the chat; valid reactions should remain usable. - Native iPhone text-selection handles should work without the app jumping to the latest message, changing swipes, or taking over the selection gesture. - The notes command should clearly tell characters how to update their existing private notes. ## Actual behavior - The UI occasionally throws `undefined is not an object (evaluating 't.characterName.length')`. - Dragging native iPhone selection handles can cause the viewport to scroll to the bottom and makes selection difficult. - The existing command says a new note replaces the old one, but its editing instructions could be clearer. ## Steps to reproduce 1. Use a chat with Echo Chamber enabled; a reaction without a character name reaches the client queue and the name-color loop reads its missing name. 2. On iPhone, select chat text or text being edited and adjust the native selection handles. 3. Observe unwanted scrolling while extending the selection. The exact iOS version and a deterministic physical-device reproduction were not supplied. ## Environment - Marinara Engine version: not specified by reporter; investigating current staging - Install type: not specified - OS + version: iPhone, iOS version not specified - Browser or app shell: mobile browser, exact browser not specified ## Logs, screenshots, or video Reported error: `undefined is not an object (evaluating 't.characterName.length')`. ## Additional context Keep the fixes small, reuse existing chat behavior, add runnable regression proof, and land the PR on staging. Native iOS selection-handle behavior needs physical-device verification; browser automation can cover selection state, scroll preservation, and gesture conflicts. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:02:11 +07:00
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-Engine#3346
No description provided.