Cursor is in the wrong position, when IME just after a link node

Hi, the reproduce steps are as following:

  1. move the cursor just at the end of the link
  2. switch to IME input (Chinese or Japanese are both OK), typing ‘e’ then the cursor seems to be before the character " | い"。
  3. continue typing ‘e’, the cursor put back to the right pos "いい | " the gif image as attached below: 2024-04-10 at 21.28

I don’t know if it’s an issue of prosemirror, just doesn’t seem to be right.

my browser: chrome version 123.0.6312.107 arm64
os: mac 14.4