Skip to content

In a TextFormField, ⬅ moves left but ➡ does nothing #12260

Closed

Description

@collinjackson

Steps to Reproduce

In the iOS simulator, I can use the left arrow key to move left in text fields. The right arrow key does nothing. I expected it to move right.

Reduced test case:

import 'package:flutter/material.dart';

void main() {
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      body: new Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          new TextFormField(),
        ],
      ),
    );
  }
}

[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel unknown)
• Flutter at /Users/jackson/git/flutter
• Framework revision bb0a724 (13 minutes ago), 2017-09-26 09:12:40 -0700
• Engine revision 0052126
• Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
• Android SDK at /Users/jackson/Library/Android/sdk
• Platform android-26, build-tools 26.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_112-release-b06)

[-] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
✗ libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:
brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.2
• CocoaPods version 1.3.1

[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.2.4)
• Flutter plugin version 17.0
• Dart plugin version 172.4155.35

[✓] Connected devices
• SM G930V • caef18a6 • android-arm • Android 7.0 (API 24)
• iPhone 7 Plus • A712DA0B-FEBD-4746-9BAF-45ECE15EDDBA • ios • iOS 10.3 (simulator)

Activity

  1. collinjackson commented on Sep 26, 2017

    @collinjackson
    ContributorAuthor
  2. self-assigned this
    on Nov 2, 2017
  3. cbracken commented on Nov 2, 2017

    @cbracken
    Member

    Fixed by flutter-team-archive/engine#4319 rolled to framework by #12853

  4. added a commit that references this issue on Sep 13, 2019
  5. added a commit that references this issue on Sep 30, 2019
  6. github-actions commented on Sep 4, 2021

    @github-actions

    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 flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsplatform-iosiOS applications specifically

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions