Skip to content

TextField has cursor position reset to 0 and strange behavior when deleting characters under macOS using cjk input method. #77052

@YeungKC

Description

@YeungKC

code:

import 'package:flutter/material.dart';

void main() => runApp(
      MaterialApp(
        home: Scaffold(
          body: Center(
            child: TextField(),
          ),
        ),
      ),
    );

result:

Kapture.2021-03-02.at.17.59.54.mp4

flutter --version
Flutter 1.27.0-9.0.pre.149 • channel master • https://github.com/flutter/flutter.git
Framework • revision 9964e8f (6 小时前) • 2021-03-01 23:00:02 -0500
Engine • revision 17f6bfc
Tools • Dart 2.13.0 (build 2.13.0-90.0.dev)

Metadata

Metadata

Assignees

Labels

a: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsengineflutter/engine related. See also e: labels.platform-macBuilding on or for macOS specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions