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

fix: distinguish PC/Mobile behavior on auto-scroll #565

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

xiaotianxt
Copy link
Contributor

当移动端用户点击输入文本框后,聊天列表应该自动滚动(与当前一致)。

但在电脑屏幕上,聊天列表不应该自动滚动,因为用户可能需要参考之前的聊天记录。

本提交将电脑屏幕中自动滚动逻辑移动到 submit 时刻。

The chat list should be set to auto-scroll on mobile screen when the
input textarea is focused. It should not behave like that on PC screen
because user may want to refer to previous content.
@vercel
Copy link

vercel bot commented Apr 6, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @Yidadaa on Vercel.

@Yidadaa first needs to authorize it.

@Yidadaa Yidadaa merged commit 9a952f0 into ChatGPTNextWeb:main Apr 6, 2023
yxl pushed a commit to yxl/ChatGPT-Next-Web that referenced this pull request May 4, 2023
fix: distinguish PC/Mobile behavior on auto-scroll
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

Successfully merging this pull request may close these issues.

2 participants