New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS deadkey composition #714
Comments
|
Also not happening with dead key layouts on Linux. Will try to test on macOS soon. |
|
I can't this to occur in Chrome 98 on macOS (tried about 20 times). |
|
Maybe it's an OS issue? I'm testing on macOS Big Sur V11.6 Intel. |
|
Yes, I tested with an empty editor. Not entirely sure what the OS version was on the laptop, will check. |
|
Upgraded macOS from 10.something, where the problem didn't occur, to 12.2, where I still don't see it. |
|
Did you set the keyboard layout to "U.S. International - PC"? |
|
Yes, I set that keyboard and composed à chacters by typing a backtick and then a. I don't think my keyboard does something like this, no (plain old macbook laptop keyboard). |
|
Here's the original bug report: https://forum.obsidian.md/t/extra-backtick-when-used-as-dead-key/30412 |
|
Update: I can also repro this in Safari on the website. macOS 11.6 as well. |
|
They mention the option key because in some layouts to get ` (and hence trigger the deadkey behavior) you need to physically press option+<another button> (e.g. option-9 in the Italian layout) |
I can repro this on Chrome 97 macOS 12.2. Perhaps an issue with autocomplete is causing it? |
FEATURE: The new `EditorView.compositionStarted` property indicates whether a composition is starting. Issue codemirror/codemirror.next#714
FIX: Don't close brackets when a composition has started, to avoid breaking dead key input. Issue codemirror/codemirror.next#714
|
It looks like this may just be the closebrackets package interfering with the composition. Could you see if turning that off resolves the issue? |
|
It does seem to work just fine without closebrackets. |
|
I've tagged @codemirror/closebrackets 0.19.1, which should help. |

Seeing an inconsistent treatment for the backtick deadkey at the start of the line which is used to insert accented characters like
àwith some keyboard layouts. The same layout combo works fine on Windows.To reproduce:
<backtick>+a.The text was updated successfully, but these errors were encountered: