-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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 input Japanese on docusaurus-theme-search-algolia
in Windows Firefox
#8952
Comments
https://developer.mozilla.org/docs/Web/API/Event/composed must be used to fix this problem. This may be due to https://github.com/algolia/autocomplete |
I cannot reproduce this in macOS Firefox, but Chinese input methods work differently and I don't know how to use the Hiragana input method... In any case, Docusaurus does not provide the search modal, so we will track algolia/autocomplete#1135 instead. |
@Josh-Ce I don't have a mac, but can't it be reproduced in Microsoft Pinyin in Windows parallels either? (I'll try it later in physical Windows though) |
Unfortunately I don't have access to a Windows machine either :/ |
fyi how to enable Japanese IME in macOS |
Seems to work well. |
I was able to test in Google Pinyin in Windows Sandbox. googlepinyin.mp4Input a sentence→Press backspace until all characters are deleted woxihuan→[backspace]→・・・→woxih (OK until here)→[backspace]→我系 (IME closed; I can't modify pinyin anymore) googlepinyin2.mp4Another example (I just pressed backspace once after typing huanghe) Google Pinyin: 下载谷歌拼音输入法 Download Google Pinyin Chinese Mandarin Pinyin Input (Direct link: Download Google Pinyin [ 标准版 ] For Microsoft Windows | GeckoandFly Server) |
Can macOS + Firefox input Pinyin on the field in this pen successfully? |
@tats-u sorry I was quite busy for the last few weeks. Yes, the pen works for me on Mac Firefox, both using Chinese and Hiragana keyboards. The IME closing seems unexpected, but I can't reproduce it here. Maybe it's a platform-specific issue? |
macOS doesn't seem to be affected. Thank you for your cooperation. FYI in Windows: enterkeyhint_firefox.mp4 |
algolia/autocomplete#1135 (comment) We will be able to fix this issue by @Josh-Cena Now that the ball is in our court, could you reopen this issue? |
@tats-u Could you try it in your environment? Thanks! |
Has it been committed in main? It does not look like. |
Ah, no, I meant if you wanted to make the code change and test it locally. |
I see. We have only to add a line in Should we use |
Is there a downside to this being unconditionally applied? |
You may want to see: algolia/instantsearch#5986 It is up to your team to apply this to all locales. I am against their background, though. The detailed condition (the name of Ithe keyboard app & the language of the keyboard) is not written. |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
docusaurus-theme-search-algolia
has a bug to prevent from inputting Japanese in Windows Firefox.Other languages, e.g. Chinese, may be affected, too.
Chromium-based browsers work well.
Reproducible demo
https://docusaurus.io/
Steps to reproduce
Expected behavior
search_edge.mp4
(Edge)
Chrome also works well.
Note: this movie uses AV1. Safari may not be supported. Edge requires an this Windows video extension.
Actual behavior
search_firefox.mp4
Input corrupted at every moment😡
Your environment
Self-service
The text was updated successfully, but these errors were encountered: