Skip to content
New issue

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

fix: made the input height of the chat dynamic #531

Merged
merged 4 commits into from
Oct 23, 2023
Merged

fix: made the input height of the chat dynamic #531

merged 4 commits into from
Oct 23, 2023

Conversation

Aryakoste
Copy link
Contributor

Fixes Issue #421

**My PR closes #421

πŸ‘¨β€πŸ’» Changes proposed(What did you do ?)

  • on the onChange handler provided in textarea in chat i adjusted the height of the text area depending upon the scroll height which solved the problem.

βœ”οΈ Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title and description of the PR is clear and explains the approach.

Note to reviewers

πŸ“· Screenshots

input.height.issue.fixed.mp4

@vercel
Copy link

vercel bot commented Oct 22, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @Dun-sin on Vercel.

@Dun-sin first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 23, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
whisper βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Oct 23, 2023 6:37am

client/.env_sample Outdated Show resolved Hide resolved
server/.env_sample Outdated Show resolved Hide resolved
server/package-lock.json Outdated Show resolved Hide resolved
client/src/components/Chat.jsx Outdated Show resolved Hide resolved
client/src/components/Chat.jsx Show resolved Hide resolved
@Aryakoste
Copy link
Contributor Author

Changes done

Copy link
Owner

@Dun-sin Dun-sin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You did great, thanks for contributing, I hope you will stick around and continue to contribute to this project.

Consider giving this project a star and joining the community discord server if you haven't for more resources and opportunities to connect with others. πŸ‘‰πŸ½hereπŸ‘ˆπŸ½

@Dun-sin Dun-sin merged commit 1054a4b into Dun-sin:main Oct 23, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Message Input height not corresponding to message content
2 participants