Skip to content

Tapping enter multiple times sends duplicate messages #24249

@jonnyandrew

Description

@jonnyandrew

Steps to reproduce

  1. Enable the rich text editor in Labs
  2. Type a message into the rich text editor
  3. Press enter multiple times in quick succession

Outcome

What did you expect?

  • A single message is sent to the room
  • The content of the editor is cleared immediately

What happened instead?

  • Multiple messages are sent to the room
  • The content of the editor is cleared after a small delay
Screencast.from.18-01-23.09.29.08.webm

Operating system

Ubuntu

Application version

Element Nightly version: 2023011801 Olm version: 3.2.12

How did you install the app?

Ubuntu APT

Homeserver

matrix.org

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-Rich-Text-EditorIssues with the new rich text editor, also known as the WYSIWYG editorO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-Labs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions