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
Setting resizeToAvoidBottomPadding: false on a Scaffold disables scrolling of TextViews into views #18558
Comments
Please add the output of |
@zoechi done. It works if I set resizeToAvoidBottomPadding= true |
Another bug for @goderbauer's comment. :) |
@escamoteur try this ...... Until this is fixed, a workaround on android is to remove android:windowSoftInputMode="adjustResize" from the manifest. This is a behaviour change, but at least you can use the textfields, without blocking the whole screen. |
iOS is also broken. Any updates on the fix? |
Hello, I have the same issue, sometime, the resizeToAvoidBottomInset to false solved the issue, but when we have multiple textfields, we can't see the lasts because the scaffold is not resized. |
Seems this is the behaviour in Column widget as of now. Can you replace with Column widget with ListView widget and add its childrens there. It will be working fine as you have expected. |
Hello, |
Hi, any update on this? I am trying to build a signup form with submit button. Submit button needs to sit at the bottom. So now when I tap on any text field, keyboard comes up and pushes the button up, which covers the form (in case of resizeToAvoidBottomInset = true). In case of resizeToAvoidBottomInset = false, scrolling has been disabled on ListView that has all my text fields in it. Designing a simple form shouldn't be this hard :( |
P4 for a bug that makes an app unshippable ? This should be really high on the list sir. |
@RollyPeres This is how I solved my problem -
It makes the whole form scrollable when keyboard comes up, which is acceptable due to lack of better solution. Give it a go and see if it works for you. |
@varundroid thanks for suggestion, will give it a go. I'm playing around with a couple of workarounds as my tree is a bit more complex. |
Persists with current master code sample
flutter doctor -v
|
Thanks @varundroid ! , your code works but it's a shame to have not very clean workarounds... :/ |
Hi, |
Verifying this using latest versions, the current property is
https://api.flutter.dev/flutter/material/Scaffold/resizeToAvoidBottomInset.html Per above documentation, I am going ahead and closing this as WAI. If anybody disagrees, please open a new issue using latest framework code so that we can address it accordingly. |
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 |
Also what I realized:
If I set
resizeToAvoidBottomPadding: false
on my Scaffold no Textfield is scrolled up anymore and I can't even scroll my content up manually.What if I don't want to have everything below pushe up? I only wan't to have the Textfield scrolled into view. See this two pichtures:
I don't want to have the TabBar (it's not in the bottom of the Scaflold but in an outer Column)pushed up too:
PS C:\Entwicklung\FlutterApps\Projects\JoinOrCreate\JoinOrCreate_Mobile> flutter doctor -v
[√] Flutter (Channel master, v0.5.5-pre.45, on Microsoft Windows [Version 10.0.17134.112], locale de-DE)
• Flutter version 0.5.5-pre.45 at C:\Entwicklung\Flutter
• Framework revision 592c5ba (3 hours ago), 2018-06-18 06:37:01 +0100
• Engine revision c3976b3
• Dart version 2.0.0-dev.61.0.flutter-c95617b19c
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\escam\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 24.2.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[!] VS Code, 32-bit edition (version 1.24.1)
• VS Code at C:\Program Files (x86)\Microsoft VS Code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)
! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered: