Skip to content

Inconsistent cursor position when emoji window is closed when clicking on emoji button #23949

@florianduros

Description

@florianduros

Steps to reproduce

In plain text mode of the new rich text editor OR in the current composer (reproducible in both composer)

  1. Click on the emoji button
  2. Click on a emoji
  3. Click again in the emoji

Outcome

What did you expect?

I expect the cursor to be positioned after the inserted emoji

What happened instead?

The cursor is at the beginning of the composer

Cursor is at the wrong position after inserting an emoji

emoji1

Emoji inserted at wrong position (cursor is at the end)

emoji2

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ComposerA-Rich-Text-EditorIssues with the new rich text editor, also known as the WYSIWYG editorO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-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