Skip to content

Patch input to handle Enter event for japanese keyboards correctly#71

Merged
nbramblett merged 1 commit intomainfrom
japanese-compatibility
May 16, 2024
Merged

Patch input to handle Enter event for japanese keyboards correctly#71
nbramblett merged 1 commit intomainfrom
japanese-compatibility

Conversation

@nbramblett
Copy link
Copy Markdown
Contributor

For a clear summary of the issue and the solution, see below:

https://dninomiya.github.io/form-guide/stop-enter-submit

Tested via our dev page using the japanese keyboard - I hit enter and verified that it converted the characters but did not send a message. Subsequently hitting Enter correctly sent the message.

I also double-checked that other keyboards (english) still only require one press of the Enter key, so this should be a completely invisible change to anyone using other languages.

@nbramblett nbramblett requested a review from a team as a code owner May 16, 2024 17:09
@nbramblett nbramblett merged commit 70051e5 into main May 16, 2024
@nbramblett nbramblett deleted the japanese-compatibility branch May 16, 2024 17:42
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