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: Chatbot Sends Empty Message on Enter After Using Shift + Enter #703

Open
Ghat0tkach opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@Ghat0tkach
Copy link

Description:

When composing a message in the chatbot interface:

Shift + Enter works correctly to add a new line within the message.
However, if the user accidentally hits Enter on an empty message, the interface sends an empty message, which shouldn't happen.

Steps to Reproduce:

  • Navigate to the homepage
  • Press Shift + Enter to add a new line in the message input.
  • Press Enter to send the message.
  • The chatbot sends an empty message, instead of blocking or preventing the send action.

Expected Behavior:

The chatbot should not send an empty message when the input field is empty. Instead, it should:

Ignore the Enter keypress if the message is blank.

Preview

Image
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

No branches or pull requests

1 participant