Skip to content

[TextField] Exception when delete texts on iOS while the TextEditingValue is composing #63753

@AlexV525

Description

@AlexV525

Steps to Reproduce

  1. TextField(maxLength: 5) (Value can be any integer greater than zero).
  2. Using a keyboard with composing, such as the Chinese keyboard.
  3. Input until the characters length more than the max length, and keep composing status.
  4. At this time the characters might flashing, if this appears, press delete button.
  5. The app crashed.

Kapture 2020-08-14 at 16 53 45

Environment

Platform: iOS
Flutter version: 1.0.0~master

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressiona: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsc: fatal crashCrashes that terminate the processf: material designflutter/packages/flutter/material repository.found in release: 1.21Found to occur in 1.21frameworkflutter/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