Skip to content
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

TextField #302

Open
ismaelalba opened this issue Dec 4, 2022 · 3 comments
Open

TextField #302

ismaelalba opened this issue Dec 4, 2022 · 3 comments

Comments

@ismaelalba
Copy link

Hello man, I am very impressed about your modal_bottom_sheet package, it is awesome and super easy to use, congrats!

I want to write in a TextField, but when the keyboard appears, it cover the entire bottom sheet. I dont know if it is my fault, or is simply a little improvement for your package.

Thank you mate 😎

image
image

@codetinker
Copy link

codetinker commented Dec 9, 2022

I have the same problem. Still finding solution..

@codetinker
Copy link

I just solved it. Just add padding.. this is my code
showMaterialModalBottomSheet( context: context, bounce: true, builder: (context) => SingleChildScrollView( controller: ModalScrollController.of(context), padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom), child: child, ), );

@berdibekovaG
Copy link

I just solved it. Just add padding.. this is my code showMaterialModalBottomSheet( context: context, bounce: true, builder: (context) => SingleChildScrollView( controller: ModalScrollController.of(context), padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom), child: child, ), );

is it works at flutter 3.10.5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants