-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Steps to Reproduce
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: Text('Welcome to Flutter'),
),
body: Center(
child: Column(
children: <Widget>[
Text('input 1'),
TextField(
autofocus: true,
),
Text('input 2'),
TextField()
],
),
),
),
);
}
}
empty text case
- run example and make sure you have a copied text
- long tap on textfield, the paste toolbar doesn't show up. (this is a bug)
- double tap on textfield, the paste toolbar doesn't show up. (this is a bug)
- type a word, and do step 2 and 3, you can get it in both steps.
switch textfield case
- run example and make sure you have a copied text
- assume current focus is on first field.
- long tap on text field 1, the paste toolbar doesn't show up. (this is a bug)
- tap on text field to focus on it, long tap on it and the paste toolbar show up.
- you can't hide the toolbar anymore except close keyboard/type words/change focus. (this is a bug)
already tried on 1.7.0, 1.7.3 and today's master branch. no lucky. : (
Logs
$ flutter analyze
Analyzing flutter...
No issues found! (ran in 13.1s)
$ flutter doctor -v
[✓] Flutter (Channel master, v1.7.2-pre.108, on Mac OS X 10.14.5 18F132, locale en-TW)
• Flutter version 1.7.2-pre.108 at /Users/jerry/Documents/project/flutter
• Framework revision e9ca112e44 (5 hours ago), 2019-06-10 19:17:55 -0700
• Engine revision 4c0daaca27
• Dart version 2.3.2 (build 2.3.2-dev.0.1 7f146e431e)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/jerry/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• CocoaPods version 1.7.1
[✓] iOS tools - develop for iOS devices
• ios-deploy 1.9.4
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 36.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[✓] IntelliJ IDEA Community Edition (version 2019.1.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 36.0.4
• Dart plugin version 191.7830
[✓] Connected device (2 available)
• iPhone Xs • B14E00B6-35BA-4FBE-8CCB-340589DEAC94 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
• No issues found!
PerLycke, nvbln, wilkomanger, yongzhengqi, yathit and 2 moreyongzhengqi
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.