YYFlutter/flutter-custom-dialog

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

likhithdevadiga opened this issue · 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.

can you post you code here

@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

@AndroidHensen any update on this issue?

@AndroidHensen any updates or workarounds?

@AndroidHensen Any updates on this issue?