ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] mac app 和 safari 浏览器下,当中文输入法组合文字输入并直接回车的情况下,或者输入框内文字完全删除情况下,上方滚动条会往上滚动

Open
#4,255 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 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

![Snipaste_2024-03-10_14-18-39](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/49895589/fc94e109-efe0-433b-9d9a-9d4f66c4d765)
![Snipaste_2024-03-10_14-19-12](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/49895589/6f12a5a9-bd05-4651-825c-ceabc1434950)

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.