Add hover state to views dropdown in web ui

This commit is contained in:
BC Broussard
2015-05-19 17:12:16 -07:00
parent 3975f6ebec
commit edc6c02960
8 changed files with 1058 additions and 1013 deletions

View File

@@ -7709,7 +7709,10 @@ function SelectProvider($$interimElementProvider) {
var focusedNode = centeredNode || optionNodes[0];
if (focusedNode) {
opts.focusedNode = focusedNode;
focusedNode.focus();
// This is commented out to fix an issue where the first option remains in focus
// even after you mouseover to a different option.
// It is fixed in the compiled source and is here for reference.
// focusedNode.focus();
}
if (isScrollable) {

File diff suppressed because one or more lines are too long

View File

@@ -543,7 +543,7 @@ function SelectProvider($$interimElementProvider) {
contentEl: element.find('md-content'),
backdrop: opts.hasBackdrop && angular.element('<md-backdrop class="md-select-backdrop">')
});
var optionNodes = [];
configureAria();
@@ -757,7 +757,10 @@ function SelectProvider($$interimElementProvider) {
var focusedNode = centeredNode || optionNodes[0];
if (focusedNode) {
opts.focusedNode = focusedNode;
focusedNode.focus();
// This is commented out to fix an issue where the first option remains in focus
// even after you mouseover to a different option.
// It is fixed in the compiled source and is here for reference.
// focusedNode.focus();
}
if (isScrollable) {