xmtp / example-chat-react

This repo has been archived. Replacement apps include the XMTP Quickstart React and XMTP Inbox chat apps. For more details and links, see the README in this repo.
MIT License
74 stars 52 forks source link

Bug: Pressing Shift+Return clears the message input #128

Open galligan opened 1 year ago

galligan commented 1 year ago

Describe the bug

When I press shift and return (enter) when in a message input, the message is cleared.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to any conversation
  2. Add text to the message input box
  3. Press shift+return
  4. Notice message is gone

Expected behavior

I expect this would add a line break.

Desktop

Please complete the following information if you think it is relevant to the bug: