Skip to content

Enter key does not send message in debate input #280

@vinayak302004

Description

@vinayak302004

Bug

While typing a message during a debate, pressing Enter does not send the message.
The message is only sent when clicking the Send button.

Expected Behavior

  • Pressing Enter should send the message
  • Pressing Shift + Enter should not send the message

Actual Behavior

Enter key has no effect.

Suggested Fix

Handle Enter key using onKeyDown in the debate input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions