Skip to content

Prevent free-text submission during IME composition in question box - #446

Merged
zfoong merged 1 commit into
devfrom
fix/free-text-ime
Sep 7, 2026
Merged

zfoong merged 1 commit into
devfrom
fix/free-text-ime

Conversation

@Koyukopan

Copy link
Copy Markdown
Collaborator

What

  • Add IME composition and Shift key checks to the Enter handler in the QuestionBox free-text input.

Why

Prevent answers from being submitted accidentally when pressing Enter to confirm Japanese IME conversion.

Related to #165.

How to test

  • Type Japanese text in the question's free-text input and press Enter to confirm conversion. Verify that the answer is not submitted.
  • Press Enter again after conversion is complete. Verify that the answer is submitted.
  • Press Shift+Enter. Verify that the answer is not submitted.
  • Click the send button. Verify that the answer is submitted normally.

@Koyukopan Koyukopan closed this Sep 7, 2026
@Koyukopan Koyukopan reopened this Sep 7, 2026
@Koyukopan
Koyukopan changed the base branch from main to dev September 7, 2026 12:58
@Koyukopan
Koyukopan marked this pull request as draft September 7, 2026 13:01
@Koyukopan
Koyukopan marked this pull request as ready for review September 7, 2026 13:15
@zfoong
zfoong merged commit da0d275 into dev Sep 7, 2026
@zfoong
zfoong deleted the fix/free-text-ime branch September 29, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants