mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4195] [Issue]: Right Arrow reroll is blocked when the empty chat input is focused #2268
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#2268
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 @Xelvanis on GitHub (Jul 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4195
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The Right Arrow shortcut for navigating or regenerating the latest assistant swipe stops working whenever the chat input has focus, even when the input is completely empty.
Expected behavior
When the Conversation or Roleplay chat input is focused and empty, pressing Right Arrow should navigate to the next swipe or regenerate the latest assistant response when Reroll past the newest swipe is enabled. This should match the existing Up Arrow shortcut, which works from an empty focused input.
Actual behavior
The shortcut is ignored whenever the focused target is the chat textarea. The same target guard also blocks Left Arrow swipe navigation from an empty focused input.
Steps to reproduce
Environment
.exe)Logs, screenshots, or video
The reporter supplied a screenshot of the original report. No logs were provided.
Additional context
shouldIgnoreIntuitiveSwipeTarget()currently rejects everytextareabefore the Left/Right Arrow handler reaches swipe navigation. The separate Up Arrow handler explicitly permits an empty textarea, causing the inconsistent behavior.The fix should allow an unmodified Left or Right Arrow only from the empty main chat composer while continuing to protect non-empty inputs, message editors, settings fields, and touch gestures.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 28, 2026):
Implementation is claimed by @SpicyMarinara on
agent/assigned-issues-4195-4198. I’m coordinating this with the other newly assigned issues in one staging-targeted draft PR and will attach the PR here once the first narrow fix is pushed.@SpicyMarinara commented on GitHub (Jul 28, 2026):
Draft implementation PR: #4199
@SpicyMarinara commented on GitHub (Jul 28, 2026):
Fixed on
stagingvia #4199 (a97cc55d6). Empty main Conversation and Roleplay composers now allow unmodified Left/Right swipe navigation while non-empty inputs, modifiers, other editable targets, and touch gestures remain protected. Exact Playwright coverage passed.