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
Keyboard not pushing bottom sheet content upwards #95
Comments
Add a minimal code to reproduce the issue
…On Sun, May 31, 2020, 12:57 PM benkashbase ***@***.***> wrote:
Am using this library inside my modal bottom sheet. However, I noticed
that on pop up, the keyboard does not push the content upwards, it just
covers the content. How do I fix this because it is inconvenient for users.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#95>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFL3UDZF5ZSFE6JMVDYSEDRUKLAXANCNFSM4NPIEZQA>
.
|
this is a link to the gist file: https://gist.github.com/benkashbase/3d0aa0917583059fe65e153570ca450b |
Did you fix the issue? |
this is a link to the gist file: https://gist.github.com/benkashbase/3d0aa0917583059fe65e153570ca450b |
nope. I noticed that it doesn't push the content up if I set a height to my container but it shows full height if no height is set and I don't want that |
same problem here. The keyboard overlays the textField |
Please add minimal code to reproduce the issue, or check the samples
inside the package, those works very well
|
|
Hey @diegoveloper, sorry about the delay. Below is the minimal code to reproduce the issue. Please run it on both android and ios. You will see what is going on. I have noticed the bug appears when TextField is at the bottom of the screen and the keyboard does not push up the TextField properly. https://gist.github.com/scortumee/5aa651591cb0cd047e9fd11bc95e33c9 keyboard_actions: ^3.2.0 Thanks |
Did you try declaring `KeyboardActions` as a top of your `ListView` ?
|
@diegoveloper You mean wrap 'ListView' with 'KeyboardActions'? |
yes
|
@diegoveloper Thanks, wrapping 'ListView' with 'KeyboardActions' worked! The keyboard pushes the TextField smoothly |
Am using this library inside my modal bottom sheet. However, I noticed that on pop up, the keyboard does not push the content upwards, it just covers the content. How do I fix this because it is inconvenient for users.
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom),
Using this code inside my container pushes it up actually but it causes an unwanted top white space above the keyboard.
The text was updated successfully, but these errors were encountered: