Skip to content

Pills require two keypresses to move past #20678

Description

@robintown

Steps to reproduce

Potentially platform specific.

  1. Type a pill into the composer.
  2. Press Home to place the cursor before the pill.
  3. Press Right.

Outcome

What did you expect?

The cursor should move to the right side of the pill.

What happened instead?

The cursor remained on the left. To move it past the pill, you have to press Right twice.

Operating system

NixOS unstable

Browser information

Firefox 96.0

URL for webapp

develop.element.io

Application version

Element version: 06fa4f4-react-010cbadc8ecf-js-230e3b4acee3 Olm version: 3.2.8

Homeserver

townsendandsmith.ml

Will you send logs?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ComposerA-PillsO-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