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
Navbar and keyboard #79
Comments
Add the following properties and try again resizeToAvoidBottomInset: true,
hideNavigationBarWhenKeyboardShows: true, |
I've added and the problem still persists. Doing a quick look into the source code, I've noticed that the property |
Yes, the property is not being used because there is nothing to be done over there. The functionality is in |
Got it! I'll try this ASAP |
Hi. I've tested here with your embedded example. In the custom widget page, the navbar doesn't get hidden. In the built-in style, it does get hidden. I've copied the same style (just changing the items and screen) of the built-in style, but in my app, the navbar still appears above the keyboard |
Can you share your code here? |
H! The only two codes I've used is this one, and your own, from the embedded example app.
|
Same here |
And here :( |
Try setting |
I have identified the problem and a fix will be coming soon. But for now there is a temporary fix. Set the navigation bar height as: navBarHeight: MediaQuery.of(context).viewInsets.bottom > 0 ? 0.0 : kBottomNavigationBarHeight, |
I am also getting like that. |
@BilalShahid13 this issue still exists in the latest v |
and the above code is not working for me |
for now I am solving using this code:
|
I need to use custom style because I need the title to have style like fontfamily, fontsize and so on but custom style has a lot of issues can you make the title of persistentItem widget instead of String? |
get some other issue in my app using hideNavigationBar: so another temporary fix work for me is to set resizeToAvoidBottomInset as false on Scaffold
|
The issue should be fixed in the latest version 3.1.0. |
Fixed in 3.0.0 |
|
@fernando-s97 This issue persists in the latest version (3.1.0). |
Problem still persists in ver. 4.0.2. Solved with:
and resizeToAvoidBottomInset set to false as default If resizeToAvoidBottomInset is set to true a black space is created under keyboard before its animated which is in my opinion ugly, animations of keyboard on other applications like system apps doesn't work like that, smooth and without black space under. Setting above solutions removes black space, but it works fine on release. While checking result on debug you can see a scaffoldBackgroundColor container going behind keyboard which is just a slowed down animation of keyboard in debug mode. Works on Android 11 with animated keyboard and lower versions of Android as well. |
Yes the problem it still there in |
Hi!
I think the problem is that the height of the navigation bar is 0 until the keyboard closes (
So I decided to manage it myself.
|
anyone know the solution?? |
Hi!
Using the following settings, the navbar isn't being hidden when the keyboard appears
The text was updated successfully, but these errors were encountered: