PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

NavBar doesn't disappear when keyboard popups (while inside a scaffold).

Open BSiddharth opened this issue 5 years ago • 3 comments
trafficstars

Normally hideNavigationBarWhenKeyboardShows works perfectly. But if PersistentTabView is a child (body) of a scaffold (I needed a an app bar that's why I had to use a scaffold) , opening a keyboard just brings the navbar up with it.

BSiddharth avatar Nov 13 '20 14:11 BSiddharth

Same issue here, either try this workaround navBarHeight: MediaQuery.of(context).viewInsets.bottom > 0 ? 0.0 : kBottomNavigationBarHeight, provided from here https://github.com/BilalShahid13/PersistentBottomNavBar/issues/79 or return a persistenttabview without the scaffold and instead wrap the screens of the tabview with a scaffold and you can use an appbar there which is what i am doing for another issue as well since if i used a scaffold with a body persistenttabview, then the other screens that i push onto each tab's navigation stack won't have usable appbar since the appbar would be below the parent scaffold's appbar.

ShehabSN avatar Nov 28 '20 21:11 ShehabSN

Should be fixed with latest version 3.0.0.

BilalShahid13 avatar Dec 06 '20 16:12 BilalShahid13

Hey, did any one manage to fix this? Having same issue.

Irfadg avatar Aug 08 '23 12:08 Irfadg