flutter_keyboard_visibility
flutter_keyboard_visibility copied to clipboard
Only works second time keyboard is shown
KeyboardVisibilityBuilder( builder: (context, isKeyboardVisible) {
I show the keyboard the first time. Trigger this view, it returns 'false'. Continues to show false until I hide and reshow the keyboard.
I'm on Android if that matters.
this works better:
if (MediaQuery.of(context).viewInsets.bottom != 0) print('keyboard visible');
Does this happen in the sample project in this repo? What version of the lib are you using?
Please reopen with reproduction steps and a sample project if this is still happening. Unable to reproduce.