formatted chat input better, got rid of resize, added end adornment to send messages without the enter button
This commit is contained in:
parent
a0d1fcf5a9
commit
374ba20f0c
4 changed files with 36 additions and 42 deletions
|
|
@ -40,10 +40,6 @@ export default function ChatOutput(props: Props) {
|
|||
setScrollOffset(container.scrollHeight - container.scrollTop)
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
console.log(scrollOffset)
|
||||
}, [scrollOffset])
|
||||
|
||||
useEffect(() => {
|
||||
if (!containerRef.current) return;
|
||||
const container = containerRef.current;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue