We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm making a chat app, but the list jitters when I reach the bottom. Each of the item has dynamic height and width. Here's my code:
React list: <ReactList itemRenderer={MsgRenderer} length={messages.length} type="variable" />
<ReactList itemRenderer={MsgRenderer} length={messages.length} type="variable" />
MsgRenderer:
return ( <div key={key} className={`chat-box-msg${messages[index].type}`}> <span>{messages[index].content}</span> <span className="chat-box-msg-ts text-07 text-gray-2"> {FormatAMPM(messages[index].timestamp)} {/* Status when sending */} {messages[index].type === 1 && <> {statusSymbols[messages[index].status]}</>} </span> </div> );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm making a chat app, but the list jitters when I reach the bottom. Each of the item has dynamic height and width. Here's my code:
React list:
<ReactList itemRenderer={MsgRenderer} length={messages.length} type="variable" />
MsgRenderer:
My.Video.mp4
The text was updated successfully, but these errors were encountered: