Closed abanobmikaeel closed 1 month ago
Not a bug but a question.
How does one add pagination to a component like ConversationsWithMessages. I'm trying to allow the conversations list to be paginated on scroll (so if a user has more than 50-100 conversations, scrolling down can still show those convos.
Thanks in advance!
Gaurav Dhirendra Singh (CometChat Team) replied:
Can you please try wrapping the inside a
<div style={{ height: '800px', width: '800px' }}> <CometChatConversationsWithMessages/></div>
Gaurav Singh CometChat
Not a bug but a question.
How does one add pagination to a component like ConversationsWithMessages. I'm trying to allow the conversations list to be paginated on scroll (so if a user has more than 50-100 conversations, scrolling down can still show those convos.
Thanks in advance!