codemirror / codemirror5

In-browser code editor (version 5, legacy)
http://codemirror.net/5/
MIT License
26.85k stars 4.97k forks source link

IME changes place based on input combination - Firefox / Win7 #4257

Open MickMonaghan opened 8 years ago

MickMonaghan commented 8 years ago

Firefox v48 Windows 7 (not reproducible on Win10) MS Japanese IME Found in CodeMirror 5.13.2. Reproduced in latest.

The IME suggestion box changes place depending on the input text. Does not occur in Chrome or IE.

Step by step

win7japaneseinput

MattQlik commented 8 years ago

image I've also reproduced this on v49 of Firefox and would also add that IME suggestion box is partially obscuring the input text when it's in the 'right' place. This is the issue that was patched in https://github.com/codemirror/CodeMirror/commit/51a1e7da60a99e019f026a118dc7c98c2b1f9d62 but it seems the patch works in most browser OS combinations but not FF in Win7.

adrianheine commented 6 years ago

This is one of many issues which are difficult to solve with the fundamental approach currently taken by CodeMirror.

We are working on a rewrite (CodeMirror 6) that will overhaul input handling and should address this issue, and we are currently raising money for this work: See the announcement for more information about the rewrite and a demo.

Note that CodeMirror 6 is by no means stable or usable in production, yet. It is highly unlikely that we pick up this issue for CodeMirror 5, though.