Skip to content

TextField's Text Selection Buttons are Disappeared when text starts with Chinese char #32332

@sgon00

Description

@sgon00

Flutter version:

Flutter (Channel dev, v1.5.8, on Mac OS X 10.13.6 17G4015, locale en-CN)

Code

Just any simple textfield will do:

       TextField(
          decoration: InputDecoration(filled: true, fillColor: Colors.white, border: InputBorder.none),
          maxLines: 5,
        ),

Screenshot and Screencast

The Unexpected Screenshot With Chinese Chars

flutter_04

The Working Screenshot With En Chars

flutter_03

The Screencast (Gif file)

video

Issue Description

From what you can see from the above screenshot and screencast, TextField's text selection start and end buttons are disappeared when text starts with Chinese characters, but working fine when text start with English characters.

Thank you very much for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsf: 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