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

Commit

Permalink
fix(tabs): shift+tab will now work properly when focus is on tabs
Browse files Browse the repository at this point in the history
closes #4696
  • Loading branch information
Robert Messerle committed Nov 30, 2015
1 parent d5b72df commit 86edea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tabs/js/tabsDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function MdTabs () {
'<md-icon md-svg-icon="md-tabs-arrow"></md-icon> ' +
'</md-next-button> ' +
'<md-tabs-canvas ' +
'tabindex="0" ' +
'tabindex="{{ $mdTabsCtrl.hasFocus ? -1 : 0 }}" ' +
'aria-activedescendant="tab-item-{{$mdTabsCtrl.tabs[$mdTabsCtrl.focusIndex].id}}" ' +
'ng-focus="$mdTabsCtrl.redirectFocus()" ' +
'ng-class="{ ' +
Expand Down

0 comments on commit 86edea4

Please sign in to comment.