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

[Bug] 自动补全后直接按回车键,会选到错误的prompt #1662

Closed
haochn opened this issue May 20, 2023 · 3 comments
Closed

[Bug] 自动补全后直接按回车键,会选到错误的prompt #1662

haochn opened this issue May 20, 2023 · 3 comments

Comments

@haochn
Copy link

haochn commented May 20, 2023

复现过程:

  • 输入框输入 /xx
  • 按 enter 键
  • 自动补全"我希望你假定自己是雅思写作考官..."

Screenshot
image

image

Deployment
Vercel

Desktop (please complete the following information):

  • Browser [EDGE(chrome)]
@Yidadaa
Copy link
Collaborator

Yidadaa commented May 20, 2023

无法复现

@yanCode
Copy link
Contributor

yanCode commented May 21, 2023

I can reproduce this bug, i am going to fix it.

@yanCode
Copy link
Contributor

yanCode commented May 21, 2023

重现这个Bug的关键是,先输入一个'/', 这时看清最底下的prompt, (也就是index为0的) 这时不要做任何上下移动prompt的操作,而是直接在/后输一些查询内容,比如javascript. 这时会看到关于javascript这一条prompt会在最底部,且在UI上为选中状态,这时回车,你会发现input textarea里面的是第一次出现在最底下的prompt, 而不是关于javascript这一条

yanCode added a commit to yanCode/ChatGPT-Next-Web that referenced this issue May 21, 2023
Yidadaa added a commit that referenced this issue May 21, 2023
@Yidadaa Yidadaa closed this as completed May 21, 2023
jinker pushed a commit to jinker/ChatGPT-Next-Web that referenced this issue Jun 19, 2023
Jeremy-Hibiki pushed a commit to Jeremy-Hibiki/ChatGPT-Next-Web that referenced this issue Sep 5, 2023
Jeremy-Hibiki pushed a commit to Jeremy-Hibiki/ChatGPT-Next-Web that referenced this issue Sep 5, 2023
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants