Skip to content
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

algolia搜索框在输入关键字时会中断输入法拼写 #3604

Open
4 tasks done
lichaozhy opened this issue Feb 25, 2024 · 9 comments
Open
4 tasks done

algolia搜索框在输入关键字时会中断输入法拼写 #3604

lichaozhy opened this issue Feb 25, 2024 · 9 comments
Labels
stale upstream Related to the dependencies

Comments

@lichaozhy
Copy link

Describe the bug

这个情况从中文用户使用中发现,也可能广泛存在于非英语键盘的用户中。输入关键字过程中,尝试给出的结果会中断拼写。

Reproduction

  1. 进入Vitrepress文档首页 https://vitepress.dev/zh/
  2. 触发打开搜索框
  3. 使用“微软输入法”并尝试缓慢输入复用,即按顺序输入f-u-y-o-n-g

Expected behavior

希望能够顺畅的完成关键字输入

System Info

System:
    OS: Windows 10 10.0.22631
    CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics
    Memory: 44.07 GB / 63.18 GB
  Binaries:
    Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.5 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (121.0.2277.128)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    vitepress: 1.0.0-rc.44 => 1.0.0-rc.44

Additional context

No response

Validations

@lichaozhy lichaozhy added the bug: pending triage Maybe a bug, waiting for confirmation label Feb 25, 2024
@awxiaoxian2020
Copy link
Collaborator

我这边没有复现,可以上传视频吗?

@lichaozhy
Copy link
Author

我应当进一步补充前提。是在Firefox中出现的。

2024-02-25.11-06-56.mp4

@brc-dd
Copy link
Member

brc-dd commented Feb 25, 2024

Can you check if that input method is working fine on https://docsearch.algolia.com/ ? If not then there is not much we can do here.

@lichaozhy
Copy link
Author

Yes. There are still issues on algolia.com. thx

@brc-dd
Copy link
Member

brc-dd commented Feb 25, 2024

Also can you try searching something in Chinese on https://unocss.dev/ ? Is the input method working fine there? It's using local search. Also, is this happening only on Firefox? Can you confirm it's working fine on Chrome/Edge?

@brc-dd brc-dd added upstream Related to the dependencies and removed bug: pending triage Maybe a bug, waiting for confirmation labels Feb 25, 2024
@lichaozhy
Copy link
Author

https://unocss.dev/ is OK. The search behavior is dispatched after the input is completely finished.

@lichaozhy
Copy link
Author

There is no problem on chrome/edge. This may be a problem with Firefox.

@brc-dd
Copy link
Member

brc-dd commented Feb 25, 2024

Ah right. Got it. It's same as this issue - algolia/docsearch#1304

@lichaozhy
Copy link
Author

It is about CompositionEvent.

@github-actions github-actions bot added the stale label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale upstream Related to the dependencies
Projects
None yet
Development

No branches or pull requests

3 participants