ChatGPT-Next-Web/app/components
Call White 87c02f88d7
Fix: Chinese input method "Enter" issue
中文输入法里打英文,直接按下Enter会直接发送出去,修复这个错误。

但如果[通过 `e.isComposing` 去判断](https://github.com/Yidadaa/ChatGPT-Next-Web/pull/328/files),在 Safari 上并不兼容,因此直接全局阻止在中文输入法状态下的 Enter 的事件就可以了。
这样做没有任何副作用,因为无论是什么输入法,在输入状态 Enter 本来就不应与页面发生交互。

参考在另一个 ChatGPT 项目  :https://github.com/lencx/ChatGPT/issues/369#issuecomment-1429313208
2023-04-01 22:39:26 +08:00
..
button.module.scss chore: bigger buttons on mobile device 2023-03-20 16:51:20 +00:00
button.tsx feat: add dark theme support 2023-03-13 03:06:21 +08:00
home.module.scss fix: 修复在手机浏览器高度样式问题 2023-03-31 19:21:11 +08:00
home.tsx Fix: Chinese input method "Enter" issue 2023-04-01 22:39:26 +08:00
markdown.tsx feat: import ramarkBreaks plugin 2023-03-30 12:48:38 +08:00
settings.module.scss feat: add model config to settings 2023-03-21 16:20:32 +00:00
settings.tsx Merge pull request #254 from Yidadaa/bugfix-0330 2023-03-31 01:10:36 +08:00
ui-lib.module.scss feat: use toast instead of alert 2023-03-21 14:56:27 +00:00
ui-lib.tsx feat: #2 add prompt hints 2023-03-28 17:45:23 +00:00
window.scss fix: chat history with memory 2023-03-19 16:09:30 +00:00