Giter Club home page Giter Club logo

Comments (5)

josStorer avatar josStorer commented on May 18, 2024

v2.0.2已更新这个功能, 在每次你输入新问题, 及问题回答完毕后, 都会滚动到底部

如果一直强制滚动到底部, 在你想浏览上方信息时体验不好

from chatgptbox.

devyujie avatar devyujie commented on May 18, 2024

我觉得是,当问新问题时,上方的回答肯定都阅读过了,如果在回答时一直保持滚动在底部,阅读体验上会很好,因为眼部会一直锁定他的回答。

有点像眼睛流式输入的感觉,蹦几个字看几个字,哈哈。

from chatgptbox.

josStorer avatar josStorer commented on May 18, 2024

我其实更倾向于, 你不想看上面的信息, 就折叠, 这样空间大了就能够自动伸缩

锁定底部改动很容易

ConversationCard里, 搜索bodyRef.current.scrollTop, 把[session]改成[conversationItemData]就行了, 你可以试一下, 我个人觉得体验不好

from chatgptbox.

josStorer avatar josStorer commented on May 18, 2024

想到了, 我直接给这功能加个开关就行了

from chatgptbox.

josStorer avatar josStorer commented on May 18, 2024

已更新 v2.0.3, 添加了锁定开关

image

from chatgptbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.