cmdrootaccess / another-flushbar

A flexible widget for user notification. Customize your text, button, duration, animations and much more. For Android devs, it is made to replace Snackbars and Toasts.
https://pub.dev/packages/another_flushbar
MIT License
146 stars 90 forks source link

Flushbar is hidden behind keyboard #5

Closed eggnstone closed 3 years ago

eggnstone commented 3 years ago

When a Flushbar is shown while the keyboard is open the Flushbar is hidden behind it. When I use a standard Snackbar instead it is shown above the keyboard.

My expectation is that the Flushbar is shown above the keyboard as well.

Same problem as https://github.com/AndreHaueisen/flushbar/issues/7

ghost commented 3 years ago

Same problem here.. I'm using 1.10.17

cmdrootaccess commented 3 years ago

are you using in simulator ? if not which device ? so i can debug

lemunozm commented 3 years ago

I have the same issue.

In my case Android emulator version 10 with API 29.

ghost commented 3 years ago

are you using in simulator ? if not which device ? so i can debug

I`m using a Samsung Galaxy S10 Android Version 9

cmdrootaccess commented 3 years ago

okay i have a similar device. will test shortly

ghost commented 3 years ago

okay i have a similar device. will test shortly

I'm new on Flutter. There is my code. Is that my fault?

_listenToLoginErrors() { String message; _loginErrorSubscription = controller.loginErrorOutput.listen((errorMessage) { Flushbar( title: signInError.i18n, message: errorMessage, duration: Duration(seconds: 4), margin: EdgeInsets.all(16.0), padding: EdgeInsets.symmetric(horizontal: 24.0, vertical: 16.0), borderRadius: BorderRadius.circular(50), )..show(context); }); }

slvjr commented 3 years ago

Same here. I'm using Android 8 and 10.

mono0926 commented 3 years ago

@eggnstone @cmdrootaccess

Degraded at https://github.com/cmdrootaccess/another-flushbar/commit/0eeb74f581181cbee1b5b3e2acb18328fa2c1b54.

image
abdulrojak288 commented 3 years ago

Same here. I'm using IOS 6

pauli2406 commented 3 years ago

Same problem here. Took me a while to understand that my code was not the problem .. :D

cmdrootaccess commented 3 years ago

fixed in 1.10.19