fix(ios): disable default tab reselect behavior (#6968)

This commit is contained in:
Martin Yankov
2019-03-01 11:18:07 +02:00
committed by GitHub
parent a7486baab4
commit 043cbf3a61

View File

@ -90,6 +90,10 @@ class UITabBarControllerDelegateImpl extends NSObject implements UITabBarControl
owner._handleTwoNavigationBars(backToMoreWillBeVisible);
}
if ((<any>tabBarController).selectedViewController === viewController) {
return false;
}
(<any>tabBarController)._willSelectViewController = viewController;
return true;