You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SessionQuestionDock custom answer commits when pressing Enter to confirm IME composition #21889
When using a CJK (Chinese/Japanese/Korean) IME in OpenCode, pressing Enter to confirm an IME candidate selection in the custom answer textarea inside SessionQuestionDock unintentionally commits the custom answer and exits editing mode.
The root cause is that the onKeyDown handler for the custom answer textarea in SessionQuestionDock did not check event.isComposing (or the legacy event.keyCode === 229 for Safari), so the Enter key fired during IME composition was treated as a commit action.
Plugins
No response
OpenCode version
1.4.3
Steps to reproduce
Open a session that shows a question request with a custom answer option
Click the custom answer option so the textarea opens
Activity
github-actions commentedon Apr 10, 2026
This issue might be a duplicate of existing issues. Please check:
SessionQuestionDockcustom answer textarea submits on IME composition Enter, same root cause (event.isComposingnot checked), same steps to reproduce, and same fix approach described.