How to add a textinputfield inside the dailog, which moves the field to top when keyboard pops up.
likhithdevadiga opened this issue · 5 comments
likhithdevadiga commented
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.
AndroidHensen commented
can you post you code here
brizaldi commented
@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 commented
@AndroidHensen any update on this issue?
Lomski commented
@AndroidHensen any updates or workarounds?
lucasjinreal commented
@AndroidHensen Any updates on this issue?