To reproduce, create a vanilla editor, and add
EditorView.lineWrapping as the extension. Then enable an input method. In the editor, switch to the input method and then typing. Notice that when the cursor nears the line wrapping position (the end of the line) the input method candidate words is stopped.
Tested in Chrome and everything works fine.