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

Closes #7098
  • Loading branch information
robertmesserle authored and ThomasBurleson committed Apr 19, 2016
1 parent 8c79f32 commit 8aa9b16
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 @@ -278,7 +278,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 8aa9b16

Please sign in to comment.