diff --git a/src/components/tabs/js/tabsController.js b/src/components/tabs/js/tabsController.js index 49f6f04c85d..27b5da3f81c 100644 --- a/src/components/tabs/js/tabsController.js +++ b/src/components/tabs/js/tabsController.js @@ -694,7 +694,9 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp */ function redirectFocus () { ctrl.styleTabItemFocus = ($mdInteraction.getLastInteractionType() === 'keyboard'); - getElements().tabs[ ctrl.focusIndex ].focus(); + if (ctrl.focusIndex > 0) { + getElements().tabs[ctrl.focusIndex].focus(); + } } /**