Chat behavior is strange when using Japanese. (Mac OS)

Please see this video.

This is a video of using chat under Mac OS GoogleChrome environment.

The steps are as follows
1: Input Japanese words.
2: Convert it.
3: When I press enter to confirm the conversion, it not only confirms the conversion but also sends the content to the chat.
Also, the content that should have been sent remains in the chat field.

This does not happen on Windows. As far as I have confirmed, this phenomenon occurs only on Mac.