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

Commit 1fc2939

Browse files
devversionThomasBurleson
authored andcommitted
fix(list): clickable list-items should show a focus effect.
* 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
1 parent 4248f40 commit 1fc2939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/list/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function mdListItemDirective($mdAria, $mdConstant, $mdUtil, $timeout) {
146146

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

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

0 commit comments

Comments
 (0)