-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Can't write accented letters in a RichTextField editor with Firefox #7386
Comments
I can confirm that I am having this bug for RichTextField too. Other fields (for example, title) work fine. I tested it on Firefox, Ubuntu 20.04. I type the accented letters by Ctrl+Shift+u, e , (a number), space. It appears for a bit and then disappears. |
Thank you both for reporting this! I’ve seen IME-style issues like this in a few contexts, but haven’t heard or seen this one before. Please make sure when reporting this to give as much details about your browser and OS as possible, as it’s likely very specific (for example we’ve had people report issues with IceWeasel in the past that weren’t present in vanilla Firefox). For me on macOS I can’t reproduce, testing in Firefox 95 and Chrome Canary 99 on macOS 12.0.1. |
working correctly on firefox |
Hi, sorry for the delay. Unfortunately same incorrect behavior in Wagtail 3.0 and Firefox 100.0. Characters created in a combination with a dead key are deleted milliseconds after the second key is pressed. OS: Manjaro Linux. KDE desktop environment. I don't know what more information to add. |
Stepping through this with an event listener breakpoint on compositionend, this snippet seems to be the problem
Located in draftail.js. Or at least it's what was highlighted before and after the character disappeared. Using Github's search, there are no results for onCompositionEnd in this repo or draftail's repo, but if anyone can figure out where this comes from that might give a clue. Should also mention, this issue still persists in Firefox DE 105 with Wagtail 4.0.1 on Arch Linux. So it seems like resolveComposition times out on Firefox but not on Chromium? But the character does get rendered correctly before this is called so I'd consider that a "resolved" composition. So is there some bug in resolveComposition that somehow only affects Firefox and not Chromium? |
As I noted in #9745 , the problem is still present with last versions of Wagtail and Firefox.
|
Issue Summary
Hi, I'm just testing a new site I want to build.I can't write accented letters (á,é,í,à,è,ä, ...) in a RichTextField editor with Firefox. I make them pressing first on the "tilde" key (´) and then press the letter you want to write with the accent. But as soon I press this last key, the accented letter I want to write is shown for a fraction of a second and then disappears.
Video of the problem: https://imgur.com/a/zVnWpdi
Steps to Reproduce
One thing to note is that the editor accepts this chars if I just copy/paste them or if I have a key with the letter ready. The problem only arises when using the so called "dead keys".
Not tested all types of fields, but the title of the page accepts the characters just fine.
Tested this with other browser (Chromium) and it works fine.
Technical details
The text was updated successfully, but these errors were encountered: