mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4656] [Issue]: Cursor sometimes jumps to end while typing in expanded character or preset editors #2548
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2548
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Environment
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
@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.