File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,12 @@ class MDCTabBarDelegateImpl extends NSObject implements MDCTabBarDelegate {
44
44
owner . _canSelectItem = false ;
45
45
}
46
46
47
- return shouldSelectItem ;
48
- }
47
+ const tabStripItems = owner . tabStrip && owner . tabStrip . items ;
48
+ if ( tabStripItems && tabStripItems [ selectedIndex ] ) {
49
+ tabStripItems [ selectedIndex ] . _emit ( TabStripItem . tapEvent ) ;
50
+ }
49
51
50
- public tabBarWillSelectItem ( tabBar : MDCTabBar , item : UITabBarItem ) : void {
51
- //
52
+ return shouldSelectItem ;
52
53
}
53
54
54
55
public tabBarDidSelectItem ( tabBar : MDCTabBar , selectedItem : UITabBarItem ) : void {
@@ -123,7 +124,7 @@ class UIPageViewControllerImpl extends UIPageViewController {
123
124
124
125
let safeAreaInsetsBottom = 0 ;
125
126
let safeAreaInsetsTop = 0 ;
126
-
127
+
127
128
if ( majorVersion > 10 ) {
128
129
safeAreaInsetsBottom = this . view . safeAreaInsets . bottom ;
129
130
safeAreaInsetsTop = this . view . safeAreaInsets . top ;
You can’t perform that action at this time.
0 commit comments