Skip to content

Ctrl+z has to be pressed twice before emoji selection is reversed #19524

@ShadowJonathan

Description

@ShadowJonathan

Steps to reproduce

  1. Type out an emoji in :, :eyes:
  2. Select it from the list
  3. Press ctrl+z one time, observe no change
  4. Press ctrl+z a second time, observe a change

Outcome

What did you expect?

The emoji selection to be reversed on the first ctrl+z

What happened instead?

The emoji selection required an extra ctrl+z

Operating system

Linux

Browser information

Brave (Version 1.26.67 Chromium: 91.0.4472.114)

URL for webapp

develop.element.io

Application version

Element version: 85b489b-react-27e16362b6eb-js-c35cb57a79c4 Olm version: 3.2.3

Homeserver

matrix.org

Will you send logs?

No

Extra Information

#19177 was the original issue for this, after which matrix-org/matrix-react-sdk#7007 fixed it partially. This is a bug report about the remaining unexpected behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AutocompleteA-ComposerA-EmojiO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions