Use contentEditable for chat input field

This commit is contained in:
Gabe Kangas
2022-05-04 16:55:54 -07:00
parent 008f607cf7
commit c56c45d904
8 changed files with 112 additions and 31 deletions

View File

@@ -26,15 +26,14 @@ export default function ChatContainer(props: Props) {
default:
return null;
}
return null;
};
console.log(messages);
return (
<div>
<h1>Chat</h1>
<Spin spinning={loading} indicator={spinIcon} />
<Virtuoso
style={{ height: '80vh' }}
ref={chatContainerRef}
initialTopMostItemIndex={999}
data={messages}