Skip to content
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

when you open the keyboard it keeps the size of the bottom navigation bar #338

Open
Isra0210 opened this issue Aug 26, 2023 · 7 comments
Open

Comments

@Isra0210
Copy link

image

persistent_bottom_nav_bar: ^5.0.2

flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.13.1, on Microsoft Windows [versÆo 10.0.22621.2134], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.27)
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.81.1)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

@abdou-tech-maker
Copy link

i have the same issue and i cannot find anyway to get rid of it

@Isra0210
Copy link
Author

i have the same issue and i cannot find anyway to get rid of it

You can check when the keyboard is open with MediaQuery.of(context).viewInsets.bottom > 0 to show the component or not

@RamyGomaa
Copy link

I have the same problem, I thought it would be fixed in a newer version but this problem persists.

@RamyGomaa
Copy link

RamyGomaa commented Jan 13, 2024

i have the same issue and i cannot find anyway to get rid of it

You can check when the keyboard is open with MediaQuery.of(context).viewInsets.bottom > 0 to show the component or not

Can you give me a code example of where you should use this line, i have tried doing this, but the only thing that worked was me opening screens that have text fields using this

PersistentNavBarNavigator.pushNewScreen(
            context,
            screen: const ChatIntro(),
            withNavBar: false, // OPTIONAL VALUE. True by default.
            pageTransitionAnimation: PageTransitionAnimation.fade,
          );

@terrium88
Copy link

Hello. Is there any news how to handle this issue? I have the same trouble.

@hortigado
Copy link

Same issue

@RamyGomaa
Copy link

Hello. Is there any news how to handle this issue? I have the same trouble.

PersistentTabView I used

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants