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
Exception with TextField when maxLines = null #12046
Comments
I'm facing the same issue here. In the meanwhile I just set a huge number of lines (20) in order to prevent this exception being thrown. |
Just stumbled upon this. @gdomingues suggestion does help with the exception, but has the side-effect of making the |
+1 this is blocking us as well. |
If you're blocked on this, or really want to see this fixed, please "thumbs up" this issue. That helps us easily sort bugs and requests. Thank you! |
@maryx mentioned today that this is blocking her app. |
cc @jason-simmons who said he would take a look |
…tino selection handles Fixes flutter#12046
@amardeep Here Working Example |
…tino selection handles (flutter#12833) Fixes flutter#12046
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 |
I want a TextField with no limit on the number of lines.
https://docs.flutter.io/flutter/material/TextField/maxLines.html suggests that maxLines should be set to null.
But that throws an exception.
To reproduce, add a TextField with maxlines=null, type any text, and then click/tap on the text. I see the following error when running on ios simulator on the following line:
Flutter Doctor
Paste the output of running
flutter doctor
here.flutter doctor
[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-US, channel alpha)
• Flutter at /Users/amardeep/soft/flutter
• Framework revision 1c372c6 (12 days ago), 2017-08-31 15:54:45 -0700
• Engine revision f9e00a7
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
• Android SDK at /Users/amardeep/Library/Android/sdk
• Platform android-26, build-tools 26.0.1
• ANDROID_HOME = /Users/amardeep/Library/Android/sdk
• 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
• ios-deploy 1.9.1
• CocoaPods version 1.2.1
[✓] Android Studio
• Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] 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)
[✓] Connected devices
• iPhone 6 • 0E6F51C9-C9EA-499C-83FB-7637FF9B1305 • ios • iOS 10.3 (simulator)
The text was updated successfully, but these errors were encountered: