fix(duochat): Wait for another enter to send on IME
When using IME such as japanese keyboard, users are given the opportunity to fix their typing before sending the message. That means formac this would require three enters (pick from list, confirm selection, and then send) and with Google keyboard IME it requires two (pick from list, and then send). So we wait for one additional enter to send the chat prompt Normally, this is fixed using a form, but since we are adding more functionality from the slash commands this didn't seem to work on this context (example of fix using a form: gitlab-org/gitlab!147814 (diffs)) Changelog: fixed
Loading
-
mentioned in commit 9cd45d13
-
mentioned in merge request status-page!903
-
mentioned in merge request gitlab!157024 (closed)
-
mentioned in merge request gitlab-org/frontend/pajamas-adoption-scanner!338 (merged)
-
mentioned in merge request gitlab-org/frontend/playground/accessibility-scanner!40 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!3917 (merged)
-
mentioned in merge request gitlab-org/editor-extensions/gitlab-jetbrains-plugin!645 (closed)
-
mentioned in merge request gitlab-org/editor-extensions/gitlab-jetbrains-plugin!726 (closed)
Please register or sign in to comment