akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 377 forks source link

Keyboard covers textfield in body #301

Open nholmvio opened 2 years ago

nholmvio commented 2 years ago

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 commented 1 year ago

@nholmvio did you find a solution?