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

Keyboard covers textfield in body #301

Open
nholmvio opened this issue Apr 27, 2022 · 1 comment
Open

Keyboard covers textfield in body #301

nholmvio opened this issue Apr 27, 2022 · 1 comment

Comments

@nholmvio
Copy link

nholmvio commented Apr 27, 2022

Hi...

I'm attempting to refactor my app to leverage this package, and my code prior that incorporated a SingleChildScrollView that would appropriately scroll up when the keyboard was visible, no longer scrolls when it's in the body of the SlidingUpPanel.

I've done a bunch of searching and seen a few others highlight this challenge, but no answer.
(for example: https://stackoverflow.com/questions/65631376/soft-keyboard-covers-textinput-on-the-slidinguppanel-flutter )

Hoping someone may have a suggestion on what else to try to get an item in the body to properly scroll? Just to reiterate, the textfield that gets covered is in the body, not the slidingpanel...and i also hide the sliding panel when keyboard is visible because that was sliding up as well through:
minHeight: MediaQuery.of(context).viewInsets.bottom == 0 ? 100 : 0,

thank you.

@shahmirzali49
Copy link

@nholmvio did you find a solution?

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