Skip to content

Clicking right arrow key on selection isn't removed and cursor is missing,  #58068

@robert-ancell

Description

@robert-ancell

Steps to Reproduce

  1. Create a Flutter application using a TextField.
  2. Run your application.
  3. Enter the text "01234" in the the field using the keyboard.
  4. Select using the mouse "12".
  5. Press the right arrow key.

Expected results:

Selection is removed, cursor is placed between "2" and "3".

Actual results:

Selection is removed, cursor is placed between "3" and "4" (off by one error?).

Note that the left cursor works correctly, and moves to the start of the selection. Tested on Linux.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.found in release: 1.22Found to occur in 1.22frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions