Skip to content

pressing enter when editing message doesn't work #668

@RoootTheFox

Description

@RoootTheFox

Describe the bug

possible regression over cinny. when editing a message using up arrow, pressing enter to confirm the edit doesn't work and you're forced to use your mouse to click "save"

Reproduction

  1. send message
  2. up arrow to enter edit mode
  3. edit
  4. press enter
  5. should confirm edit, but doesn't do anything/adds newline instead. ctrl enter doesnt work either

Expected behavior

it edits the message

Platform and versions

- OS: Linux x86_64
- Browser: Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0
- Sable: v1.14.0-dev (6a895f8)

Additional context

this has been an issue for quite a while, but it started annoying me enough to report it (i initially thought it was a known regression, but that seems to not be the case)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug/behaviourbehaviour bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions