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

[BUG] Chat Input Field Does Not Clear After Sending Message #1038

Closed
5 tasks done
varshasric4 opened this issue Nov 7, 2024 · 1 comment
Closed
5 tasks done

[BUG] Chat Input Field Does Not Clear After Sending Message #1038

varshasric4 opened this issue Nov 7, 2024 · 1 comment
Labels
bug Something isn't working gssoc-ext hacktoberfest-accepted level1 GirlScript Summer of Code

Comments

@varshasric4
Copy link
Contributor

Description

Description:
When entering a message in the chat input field and pressing "Send," the message displays correctly in the chat history. However, the input field does not clear after sending the message. This results in the last message remaining in the input field, giving the impression that it hasn't been sent. Expected behavior is for the input field to be cleared automatically after each message is sent.

Steps to Reproduce:

Open the chatbot interface.
Type a message (e.g., "hi, tell about you") in the input field.
Press "Send."
Observe that the message remains in the input field instead of clearing.

Screenshots

IMG_20241107_133824

Any additional information?

Expected Behavior:
The input field should clear automatically after the message is sent to avoid confusion and improve user experience.

Actual Behavior:
The input field retains the previous message even after sending it, causing it to display in both the chat history and the input field.

What browser are you seeing the problem on?

Chrome

Checklist

  • I have checked the existing issues
  • I have read the Contributing Guidelines
  • I'm a GSSoC'24-Extd contributor
  • I'm a Hacktoberfest'24 contributor
  • I am willing to work on this issue (optional)
@varshasric4 varshasric4 added the bug Something isn't working label Nov 7, 2024
@SWITCHin2
Copy link

SWITCHin2 commented Nov 8, 2024

#1091

@ankit071105 due to time crunch i had resolved the issue and created PR can you please review and merge it.
As there were no assigness I raised PR for the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gssoc-ext hacktoberfest-accepted level1 GirlScript Summer of Code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants