Skip to content

DawnGate/react-input-chat-box

Repository files navigation

Introduce

When you look some chat or social app, you had noticed about how they can handle they input box with multiple line and scroll bar hide when not touch limit.

I think this project will give will small example how to create a input chat like this in 2 way

Implement

After researching, I found 2 effectively way. Each will have different advantage

Using textarea

file: InputTextArea.tsx

Using div with contenteditable

file: InputContentEditable.tsx

Conclusion

Contact with me:
author: DawnGate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published