Skip to content

Text field cannot line feed with some input methods #50328

@woodstream

Description

@woodstream

When using Chinese input methods, the text field cannot line feed,but English input methods can work.

  1. use a TextFormFiled widget:
TextFormField(
       maxLines: 5,
       keyboardType: TextInputType.multiline,
       textInputAction: TextInputAction.newline
)
  1. Keyboard use Chinese input methods, press the newline key, it can't work.
  2. Keyboard use English input methods, press the newline key, work well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowf: cupertinoflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions