Skip to content

Commit

Permalink
Merge pull request #1330 from bitmark-inc/fix_textfield_cursor
Browse files Browse the repository at this point in the history
remove set cursor when build textfield
  • Loading branch information
phuocbitmark authored Oct 20, 2023
2 parents 85de680 + debd3b6 commit aff7667
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions lib/screen/onboarding/import_address/import_seeds.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ class _ImportSeedsPageState extends State<ImportSeedsPage> {
final TextEditingController _phraseTextController = TextEditingController();
bool _isSubmissionEnabled = false;

@override
void initState() {
super.initState();
}

@override
Widget build(BuildContext context) {
return Scaffold(
Expand Down
2 changes: 0 additions & 2 deletions lib/view/au_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class AuTextField extends StatelessWidget {
Widget build(BuildContext context) {
final theme = Theme.of(context);
final isEmpty = controller.text.isEmpty;
controller.selection =
TextSelection.collapsed(offset: controller.text.length);
return Semantics(
label: labelSemantics,
child: Container(
Expand Down

0 comments on commit aff7667

Please sign in to comment.