advanced-chat / vue-advanced-chat

A beautiful chat rooms web component compatible with all Javascript frameworks
https://advanced-chat.github.io/vue-advanced-chat/
MIT License
1.67k stars 457 forks source link

Editing a message to include a reply emits `send-message` instead #498

Open frostycoles opened 8 months ago

frostycoles commented 8 months ago

Describe the bug

When I edit a message and then select "reply" to an existing message it seems to "forget" that I was editing and instead sends as a new message with reply

Steps to reproduce

  1. Send message (normal message, not reply)
  2. Select "Edit Message" from the dropdown menu
  3. Select "Reply" from the dropdown menu of another message
  4. Click "send"

Expected behavior

I would expect the component to emit the edit-message event and include the replyMessage data, but instead I get the send-message event

Screenshots

Screenshot 2023-12-29 at 11 49 22 AM