[GH-ISSUE #4656] [Issue]: Cursor sometimes jumps to end while typing in expanded character or preset editors #2548

Closed
opened 2026-10-21 05:49:57 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

While typing in an expanded text editor, the caret sometimes jumps from the selected insertion point to the end of the text. This occurs in both character-card editors and preset section editors.

Expected behavior

After clicking or otherwise placing the caret at a specific position, typed text should continue to be inserted at that position unless the user moves the caret.

Actual behavior

The caret intermittently jumps to the very end of the text during keyboard input. The newly typed text is then appended at the end instead of being inserted where the caret was placed, forcing the user to find and delete the misplaced text before trying again.

Steps to reproduce

  1. Open a character card or a preset section containing enough text to edit in the expanded editor.
  2. Expand the text editor.
  3. Click somewhere in the middle of the existing text to place the caret.
  4. Begin typing at that location.
  5. Continue editing until the intermittent jump occurs.
  6. Observe that the caret moves to the end and subsequent input is appended there.

Environment

  • Marinara Engine version: Not yet confirmed
  • Install type: Not yet confirmed
  • OS + version: Not yet confirmed
  • Browser or app shell: Not yet confirmed

Logs, screenshots, or video

No logs or recording available yet. A screen recording showing the caret position immediately before and after the jump would help diagnose the trigger.

Additional context

The behavior affects at least two editing surfaces—expanded character-card text fields and expanded preset section editors—and is intermittent rather than occurring on every keystroke. The practical workaround is to remove the text appended at the end, restore the intended caret position, and try again.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4656 Originally assigned to: @SpicyMarinara on GitHub. ## Summary While typing in an expanded text editor, the caret sometimes jumps from the selected insertion point to the end of the text. This occurs in both character-card editors and preset section editors. ## Expected behavior After clicking or otherwise placing the caret at a specific position, typed text should continue to be inserted at that position unless the user moves the caret. ## Actual behavior The caret intermittently jumps to the very end of the text during keyboard input. The newly typed text is then appended at the end instead of being inserted where the caret was placed, forcing the user to find and delete the misplaced text before trying again. ## Steps to reproduce 1. Open a character card or a preset section containing enough text to edit in the expanded editor. 2. Expand the text editor. 3. Click somewhere in the middle of the existing text to place the caret. 4. Begin typing at that location. 5. Continue editing until the intermittent jump occurs. 6. Observe that the caret moves to the end and subsequent input is appended there. ## Environment - Marinara Engine version: Not yet confirmed - Install type: Not yet confirmed - OS + version: Not yet confirmed - Browser or app shell: Not yet confirmed ## Logs, screenshots, or video No logs or recording available yet. A screen recording showing the caret position immediately before and after the jump would help diagnose the trigger. ## Additional context The behavior affects at least two editing surfaces—expanded character-card text fields and expanded preset section editors—and is intermittent rather than occurring on every keystroke. The practical workaround is to remove the text appended at the end, restore the intended caret position, and try again. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:49:57 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 14, 2026):

Regression confirmed in current 2.4.2 staging/main: typing an ASCII single or double quote in the middle of text in an expanded editor can move the caret to the end. Owned by @SpicyMarinara. The fix will stay narrowly scoped to the shared expanded-editor value/selection handoff with focused browser coverage for both quote characters.

<!-- gh-comment-id:5292456622 --> @SpicyMarinara commented on GitHub (Aug 14, 2026): Regression confirmed in current 2.4.2 staging/main: typing an ASCII single or double quote in the middle of text in an expanded editor can move the caret to the end. Owned by @SpicyMarinara. The fix will stay narrowly scoped to the shared expanded-editor value/selection handoff with focused browser coverage for both quote characters.
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#2548
No description provided.