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

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

Open
likhithdevadiga opened this issue Dec 23, 2019 · 5 comments

Comments

@likhithdevadiga
Copy link

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
Copy link
Contributor

can you post you code here

@brizaldi
Copy link

@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
Copy link

@AndroidHensen any update on this issue?

@Lomski
Copy link

Lomski commented Sep 21, 2020

@AndroidHensen any updates or workarounds?

@lucasjinreal
Copy link

@AndroidHensen Any updates on this issue?

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

5 participants