Material: NavigationController: hidesBottomBarWhenPushed with isMotionEnabled introduces bug with iOS 11

Created on 4 Oct 2017  路  13Comments  路  Source: CosmicMind/Material

I make an app with view controller structure like BottomNavigationController with 4 tabs as NavigationController.
I want to enable isMotionEnabled in NavigationController to use Motion api when push childViewController. If I set childViewController. hidesBottomBarWhenPushed = true when push, after pop that viewController and back to the NavigationController, the BottomBar can not be interacted.
If I don't set isMotionEnabled = true, the BottomBar is interactable after pop back but I cannot use Motion api.
This bug only appears in iOS 11 and still exists in 2.10.3

bug investigate material

Most helpful comment

This is confirmed as an issue and we will work on a fix. Thank you for bringing this to our attention :)

All 13 comments

Can you send me a sample project that highlights this issue?

Sample project to show this issue is here
And I have another issue here: if BaseNavigationController doesn't extend UINavigationController but NavigationController, app will crash on iOS 10

@chilinh thank you! I will take a look at the sample.

@danieldahan Do you take a look at sample project? Do you have any solution to work around with those bugs?

I will look later tonight, if not tomorrow latest. Sorry for any delays :)

Hey, sorry for any delays, @chilinh. I had fallen behind due to work. I will be looking at your issue today. Thank you!

This is confirmed as an issue and we will work on a fix. Thank you for bringing this to our attention :)

Working on this :) Hopefully a fix will be available very soon.

Is there a workaround that I could use until this bug is fixed? :)

@phillippbertram I will take a look today and see what I can come back with.

muchas gracias ;)

Same here ...

Please give Material 2.13.0 a try. If the issue persists, please reopen it. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohpor picture mohpor  路  43Comments

timoschwarzer picture timoschwarzer  路  16Comments

0zguner picture 0zguner  路  16Comments

VNadygin picture VNadygin  路  18Comments

ariedoelman picture ariedoelman  路  34Comments