Bug - macOS Tibetan Wylie IME duplicates subjoined consonants during composition #1708
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When using the built-in macOS Tibetan Wylie input method in a CodeMirror 6 editor, typing Tibetan stacks can corrupt the inserted text by duplicating the subjoined consonant.
Environment:
Steps to reproduce:
sngon.snying.Expected:
sngon(with a space, this puts the '་') → སྔོན་snying→ སྙིང་rtsis-> རྩིས་Actual:
sngon→ སྔྔན་snying→ སྙྙང་rtsis-> རྩྩས་Notes:
The same input method works correctly in TextEdit, OneNote, and Gmail in the same browser, but fails in CodeMirror-based editors. This suggests an IME/composition handling issue in CodeMirror’s editor input layer rather than a macOS keyboard or font-rendering issue.
Original downstream report:
[link to Obsidian forum report]
What appears to happen is that Chrome, in this specific situation, moves the cursor out of the editor and into, of all things, the uneditable cursor overlay element. Attached patch seems to prevent this from happening, in my tests.
Tested locally and it's fixed!
Many many thanks! This issue caused a great pain while working with Tibetan.
I've tagged @codemirror/view 6.43.1 which includes this patch.