modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

TextField

Open ismaelalba opened this issue 3 years ago • 3 comments

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

ismaelalba avatar Dec 04 '22 19:12 ismaelalba

I have the same problem. Still finding solution..

codetinker avatar Dec 09 '22 03:12 codetinker

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, ), );

codetinker avatar Dec 16 '22 21:12 codetinker

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?

berdibekovaG avatar Aug 03 '23 07:08 berdibekovaG