-
Notifications
You must be signed in to change notification settings - Fork 250
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
Bottom type toast have massive gap with Keyboard #155
Comments
Hi @giovankabisano, this looks like a bug. Thanks for raising the issue, I'll take a look as soon as I can |
@giovankabisano published a fix in |
Cool! Thanks man, I'll try to upgrade my library version |
@calintamas based on your fix commit , you have removed the keyboard listener for Android, that lead to another issue when the keyboard is open, the Toast stay behind the keyboard in Android. |
@anisfrontmen is your |
no it is set as second solution : there is way to set the |
@calintamas hi, I also have encountered this issue. After install the latest version, this problem is solved on Android, but it still exists on iOS, do you have a plan to check this? Thank you! After press enter, the keyboard will be dismissed and toast will show if request failed. Also if I press the input field to show the keyboard before toast message goes hidden, there is a high chance the toast is stuck and can't hide automatically. Screen.Recording.2021-03-29.at.14.06.14.mov |
I've seen the same on iOS where the toast shows above where the keyboard was even if the toast is shown after If I use |
@puuuudding you have any workaround for this? im facing this too |
@cutenesss unfortunately nothing right now |
I'm facing the same issue on IOS. When I focus on the input and the keyboard opens for the first time, the toast appears at the desired location. However, after dismissing the keyboard once, thereafter when keyboard is open again, there is a large gap between toast and keyboard and the bottomOffset param doesn't work anymore. |
Found workaround using keyboardOffset option for IOS |
This really needs a configuration option to switch on and off, since if you have pan-avoiding-view switched off in your android app, you need that keyboard avoiding behaviour implemented by this package... |
I have a simple Login use case inside my app and I want to use your Toast library within this project. My designer have a design system for our app that requires Toast to show on the bottom of the screen.
This library able to show Bottom Toast flawlessly with no keyboard show-up
But when the keyboard still showing on the screen, then the bottom toast leaves a gap above the keyboard.
My expectation is to show Bottom Toast above the keyboard without having that much gap. See last image inside
What have I tried
session, that's the expectation on what should happened according to the designer, but I assume that the workaround just hackish (?)Implementation
Version
What have I tried?
keyboardOffset={-250}
to decrease the gap between toast and keyboard, but that's not a viable option because different phone have different keyboard size.Are there anything that I miss in the configuration to solve this problem? Any help will be appreciated
The text was updated successfully, but these errors were encountered: