Commit 64db15e
Fix: Prevent Enter from submitting form during IME composition
The previous implementation of the Enter key handler in the AI Assistant
chat view did not account for IME composition. This caused the form to
be submitted when the user pressed Enter to select an IME suggestion,
rather than confirming the composition.
[email protected]
Fixed: 433181818
Change-Id: I10f51a8f4504cef03a5cbe43d0d18da6c8b13a75
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6771327
Commit-Queue: Yang Guo <[email protected]>
Reviewed-by: Nikolay Vitkov <[email protected]>1 parent 0c01db4 commit 64db15e
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
533 | | - | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
| |||
0 commit comments