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
Originally posted by QzCurious May 6, 2024 Though I use IME, but I only learned that it somehow relate to how I type/construct Chinese characters. I don't know it in any technical aspect.
It's recorded from official docs here. What I'm doing is:
Click on <SearchField /> and ready for typing
Switch IME for typing Chinese characters
Start typing some primitives to construct the words "被送出"
While I type, you can tell that I'm "constructing" by the underline
Whenever I'm done constructing, I press "Enter" to construct/complete the words "被送出"
The bug happened
Screen.Recording.2024-05-06.at.3.49.34.PM.mov
I though this behavior is caused by trigger onSubmit directly by keypress on "Enter" key (Have been discussed a bit on #5774 (comment)).
At this point, I'd like to argue again that instead of having a custom onSubmit implementation, not interrupting browser default behavior for "Enter on an input" might be a better approach .
The text was updated successfully, but these errors were encountered:
Discussed in #6332
Originally posted by QzCurious May 6, 2024
Though I use IME, but I only learned that it somehow relate to how I type/construct Chinese characters. I don't know it in any technical aspect.
It's recorded from official docs here. What I'm doing is:
<SearchField />
and ready for typing"被送出"
"被送出"
Screen.Recording.2024-05-06.at.3.49.34.PM.mov
I though this behavior is caused by trigger
onSubmit
directly by keypress on "Enter" key (Have been discussed a bit on #5774 (comment)).At this point, I'd like to argue again that instead of having a custom
onSubmit
implementation, not interrupting browser default behavior for "Enter on an input" might be a better approach .The text was updated successfully, but these errors were encountered: