Git Product home page Git Product logo

Comments (5)

supersnager avatar supersnager commented on July 29, 2024

@GhazanfarKhan
Yes it's possible :)
Please describe more how do you want to do it.
Do you want to do infinite scroll like here (in the opposite direction, of course):

https://chatscope.io/storybook/react/?path=/docs/components-messagelist--loading-more-state#loading-more-state

or rather add a "Load more" button at the bottom of the conversation list?

from chat-ui-kit-react.

GhazanfarKhan avatar GhazanfarKhan commented on July 29, 2024

Not like Message List in which we scroll on reverse direction. This will be normally infinite scroll like downwards. Yes you can add load more button or which ever you feel like is easy and can be done fast :)

from chat-ui-kit-react.

GhazanfarKhan avatar GhazanfarKhan commented on July 29, 2024

Hi @supersnager. When are you planning this feature ?

from chat-ui-kit-react.

supersnager avatar supersnager commented on July 29, 2024

Hi @GhazanfarKhan I'll take care of it tomorrow

from chat-ui-kit-react.

supersnager avatar supersnager commented on July 29, 2024

@GhazanfarKhan I have added two new features:

  1. onYReachEnd property
  2. loadingMore state

It works the same as in MessageList.
You can make infinite scroll using these features.

@chatscope/chat-ui-kit-react v1.3.0
Required styles:
@chatscope/chat-ui-kit-styles v1.1.0

Example in documentation: ConversationList infinity scroll example

from chat-ui-kit-react.

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.