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

Content hidden by keyboard #2

Open
eliasbnr opened this issue Feb 29, 2020 · 1 comment
Open

Content hidden by keyboard #2

eliasbnr opened this issue Feb 29, 2020 · 1 comment

Comments

@eliasbnr
Copy link

eliasbnr commented Feb 29, 2020

Hey,
i want to make a login popup but the content gets hidden by the keyboard.

Here is the code:

final popup = BeautifulPopup(
    context: context,
    template: TemplateSuccess,
  );
  popup.show(
    title: 'Melde dich an',
    content: Column(
      children: <Widget>[
        Container(
            child: TextField(
          autofocus: true,
          controller: username,
          decoration: InputDecoration(labelText: "Gebe deinen Nutzername ein."),
        )),
        // TODO: Add password
      ],
    ),
    actions: [
      popup.button(
        label: 'Einloggen',
        onPressed: () {
          // TODO: Add login
        },
      ),
    ],
  );

Here are some pictures:
Screenshot_20200229-230020
Screenshot_20200229-230749

Best regards
Elias

@TusharPatel18
Copy link

you can wrap that widget into singlescrollchildview

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

2 participants