flutter-custom-dialog icon indicating copy to clipboard operation
flutter-custom-dialog copied to clipboard

How to add a textinputfield inside the dailog, which moves the field to top when keyboard pops up.

Open likhithdevadiga opened this issue 5 years ago • 5 comments

I added a TextFormField inside the dailog, issue I am having is when keyboard pops up the field lies under the keyboard, it doesnt moves up.

likhithdevadiga avatar Dec 23 '19 08:12 likhithdevadiga

can you post you code here

AndroidHensen avatar Jan 31 '20 06:01 AndroidHensen

@AndroidHensen try this code:

YYDialog().build()
    ..width = MediaQuery.of(context).size.width - 48
    ..height = 400
    ..borderRadius = 15
    ..widget(
      Padding(
        padding: EdgeInsets.all(24),
        child: TextField(
           controller: myController,
        ),
      ),
    )
   ..show();

the keyboard is blocking the popup

brizaldi avatar Apr 13 '20 09:04 brizaldi

@AndroidHensen any update on this issue?

brizaldi avatar Apr 29 '20 05:04 brizaldi

@AndroidHensen any updates or workarounds?

Lomski avatar Sep 21 '20 04:09 Lomski

@AndroidHensen Any updates on this issue?

lucasjinreal avatar Mar 11 '22 04:03 lucasjinreal