Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(tabs): fixes keyboard navigation issue
Browse files Browse the repository at this point in the history
closes #2344
  • Loading branch information
robertmesserle committed Feb 10, 2016
1 parent 437a308 commit a3118d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tabs/js/tabsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp
case $mdConstant.KEY_CODE.SPACE:
case $mdConstant.KEY_CODE.ENTER:
event.preventDefault();
if (!locked) ctrl.selectedIndex = ctrl.focusIndex;
if (!locked) select(ctrl.focusIndex);
break;
}
ctrl.lastClick = false;
Expand Down

0 comments on commit a3118d1

Please sign in to comment.