Skip to content

[iOS] long press to move cursor is moving improperly if content is Chinese/Japanese #70267

@xiaoxiaowesley

Description

@xiaoxiaowesley

Here is the screenshot video.
5

Here is the code. Nothing else but a simple Textfield

import 'package:flutter/material.dart';
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: Center(
         child: TextField()
        ), // This trailing comma makes auto-formatting nicer for build methods.
      ),
    );
  }
}

Here is flutter doctor -v informations.

 flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
    • Flutter version 1.22.3 at /Users/xx/Documents/software/flutter
    • Framework revision 8874f21e79 (12 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/xx/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 48.0.3
    • Dart plugin version 201.7846.93

[✓] VS Code (version 1.51.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • iPhone (mobile)   • 00008020-000954E136A1002E            • ios • iOS 14.1
    • iPhone 8 (mobile) • 8615018E-67C8-4583-BDCE-1F63662BB008 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)

Metadata

Metadata

Labels

P0Critical issues such as a build break or regressiona: fidelityMatching the OEM platforms bettera: internationalizationSupporting other languages or locales. (aka i18n)a: qualityA truly polished experiencea: text inputEntering text in a text field or keyboard related problemscustomer: alibabaengineflutter/engine related. See also e: labels.f: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 1.22Found to occur in 1.22found in release: 1.23Found to occur in 1.23found in release: 1.24Found to occur in 1.24frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions