NextChat
NextChat copied to clipboard
[Bug] mac app 和 safari 浏览器下,当中文输入法组合文字输入并直接回车的情况下,或者输入框内文字完全删除情况下,上方滚动条会往上滚动
Bug Description
见下方描述和图片
Steps to Reproduce
1、开始气泡预览 2、用 safari 浏览器打开,或者 mac app 打开 3、先随便输几个问题,使出现滚动条 4、用中文输入法输入文字,输入法没关闭之前,直接回车,这时应该填充输入的拼音到输入框,但是直接提交了,这是个问题 5、我下载源码修复问题 4 :https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4256
6、发现还是输入中文输入法,直接回车,这时候气泡预览内容就自动往下滚了,不知道为什么,见下图
Expected Behavior
期望在 safari 浏览器下,能够兼容中文输入法的输入体验,解决中文输入法输入后滚动条自动滚动的问题
Screenshots
Deployment Method
- [ ] Docker
- [ ] Vercel
- [ ] Server
Desktop OS
macos
Desktop Browser
safari
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] In mac app and safari browser, when the Chinese input method combines text input and presses Enter directly, or when the text in the input box is completely deleted, the upper scroll bar will scroll up.