chatscope / chat-ui-kit-react

Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
https://chatscope.io
MIT License
1.34k stars 116 forks source link

How to use MessageInput component as textarea #104

Closed nileshzala005 closed 1 year ago

nileshzala005 commented 1 year ago

How to use the MessageInput component as textarea instead of input? Should allow for expanding the textarea from the bottom right corner if the content is too long

supersnager commented 1 year ago

@nileshzala005 This is impossible. In the MessageInput there is a conteneditable div not a textarea. This can't be easily replaced because of various dependencies on other interface elements.