BilalShahid13/PersistentBottomNavBar

Keyboard hiding TextFields

juankbenavidess opened this issue · 2 comments

When opening the textFormfield the screen is not redrawn and the textFormField is not displayed when the keyboard is displayed. This error should be solved by the library, not with other widgets.

WhatsApp.Video.2024-01-15.at.10.03.50.1.mp4

class CreateGestionScreenState extends ConsumerState<CreateGestionScreen> { @override Widget build(BuildContext) { return SafeArea( child: LoadingOverlay( isLoading: isLoading, child: SingleChildScrollView( child: Column( children: [ Padding( padding: const EdgeInsets.all(8.0), child: Table( TableRow(children: [ Text('Observaciones'), TextFormField( initialValue: observaciones, // key: Key( // proformProvider.proforma.entrada.toString()), // decoration: _inputDecoration, onTapOutside: (event) { FocusManager.instance.primaryFocus?.unfocus(); setState(() {}); }, // textAlign: TextAlign.end, onChanged: (value) { observaciones = value; }, ), ]),....
This is my structure

did you found solution

hideNavigationBar:
MediaQuery.of(context).viewInsets.bottom > 0 ? true : false,