Some trouble with writing a comment with IME

There are bugs when I write a comment with Microsoft IME on the issues or PRs page. This problem happens randomly.

Reproduce steps:

  1. I write an English sentence.
  2. Immediately after, I write a Japanese sentence.
  3. Some characters I typed are removed.

I am using Microsoft Edge or Google Chrome, and I installed the browser extension Grammarly.

This problem is fixed by turned off Grammarly.