New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Select All" Automatically scrolls EditableText to the end of the text field, which doesn't happen on native iOS #105731
Labels
a: fidelity
Matching the OEM platforms better
a: text input
Entering text in a text field or keyboard related problems
engine
flutter/engine repository. See also e: labels.
found in release: 3.0
Found to occur in 3.0
found in release: 3.1
Found to occur in 3.1
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
platform-ios
iOS applications specifically
r: fixed
Issue is closed as already fixed in a newer version
Comments
antholeole
changed the title
"Select All" Automatically scrolls EditableText to the end of the text field, which doesn't happen on native
"Select All" Automatically scrolls EditableText to the end of the text field, which doesn't happen on native iOS
Jun 9, 2022
Issue is reproducible on recordings
complete sampleimport 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
final textController = TextEditingController(
text: """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu rutrum nibh. Duis sed purus non tortor tempor iaculis. Cras sit amet metus eget ex convallis imperdiet eget eu mauris. Suspendisse placerat nulla non justo commodo, non dictum purus tristique. Nam non congue velit, non accumsan eros. Proin commodo ultricies nisi. Aliquam id iaculis quam, scelerisque pharetra ante. Aliquam ut dui sit amet magna posuere venenatis id sit amet nibh. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis gravida purus a blandit condimentum. Maecenas dapibus venenatis nibh. Etiam blandit augue quis ligula consectetur euismod.Quisque ultrices volutpat condimentum. Nunc egestas mollis magna ac blandit. Sed in venenatis augue, ac gravida nulla. Vivamus tortor ipsum, accumsan et ante non, egestas aliquam mi. Proin tellus nibh, viverra et tempus vitae, congue vitae lectus. Proin suscipit molestie velit, a varius neque lacinia vitae. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."); //or just manually input a lot of text, enough to overflow""");
MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Scaffold(
body: Center(
child: FractionallySizedBox(
widthFactor: 0.8,
child: TextField(
controller: textController,
maxLines: 5,
),
),
),
),
);
}
}
flutter doctor -v
|
danagbemava-nc
added
a: text input
Entering text in a text field or keyboard related problems
platform-ios
iOS applications specifically
engine
flutter/engine repository. See also e: labels.
a: fidelity
Matching the OEM platforms better
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
found in release: 3.0
Found to occur in 3.0
found in release: 3.1
Found to occur in 3.1
and removed
in triage
Presently being triaged by the triage team
labels
Jun 10, 2022
8 tasks
closed by #105799 |
danagbemava-nc
added
the
r: fixed
Issue is closed as already fixed in a newer version
label
Aug 1, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
a: fidelity
Matching the OEM platforms better
a: text input
Entering text in a text field or keyboard related problems
engine
flutter/engine repository. See also e: labels.
found in release: 3.0
Found to occur in 3.0
found in release: 3.1
Found to occur in 3.1
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
platform-ios
iOS applications specifically
r: fixed
Issue is closed as already fixed in a newer version
Steps to Reproduce
code sample:
Expected results:
Should behave like native and not scroll to the end: https://user-images.githubusercontent.com/48811365/172933065-ef0a267a-f5fe-4f8a-a37d-7001ceb6fc11.gif
Actual results:
Flutter automatically scrolls to the end:
https://user-images.githubusercontent.com/48811365/172933198-4aed8242-3da4-4366-b4b6-f4a3ae283cfb.gif
I'll probably just fix this along with #104945 since to fix that this one needs to be fixed, because we can calculate the correct position for the toolbar but it won't be in view anyway
The text was updated successfully, but these errors were encountered: