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

Commit

Permalink
fix(list): clickable list-items should show a focus effect.
Browse files Browse the repository at this point in the history
* Currently the focus effect was completely disabled for clickable list-items, because there were problems with the dialog focus restore.

This focus effect, should be re-enabled on the clickable list items.
But we should also keep track of the dialog focus restore issue. (See #7963)

Fixes #7960. Closes #7964
  • Loading branch information
devversion authored and ThomasBurleson committed Apr 11, 2016
1 parent 4248f40 commit 1fc2939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function mdListItemDirective($mdAria, $mdConstant, $mdUtil, $timeout) {

// Button which shows ripple and executes primary action.
var buttonWrap = angular.element(
'<md-button class="_md-no-style" md-no-focus-style></md-button>'
'<md-button class="_md-no-style"></md-button>'
);

buttonWrap[0].setAttribute('aria-label', tEl[0].textContent);
Expand Down

0 comments on commit 1fc2939

Please sign in to comment.