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

Enter will interrupt the input in Safari #317

Closed
880802ll opened this issue Mar 24, 2023 · 1 comment
Closed

Enter will interrupt the input in Safari #317

880802ll opened this issue Mar 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@880802ll
Copy link

Additional context

在输入框中回车发送时,如果使用的是Chrome浏览器是正常的,但是在Safari浏览器中,如果使用中文输入法,想用回车选择成英文字母的时候,会直接发送出去,而不是让我能够继续输入。请测试修复。

@ddiu8081 ddiu8081 added the bug Something isn't working label Mar 26, 2023
@ddiu8081 ddiu8081 changed the title 有个浏览器兼容的问题 Enter will interrupt the input in Safari Mar 26, 2023
@yzh990918
Copy link
Member

Fixed in 7fc8753

Edwardvi added a commit to Edwardvi/chatgpt-demo that referenced this issue Mar 28, 2023
fix: use e.keyCode replace e.key fix anse-app#317
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants