Add hover state to views dropdown in web ui
This commit is contained in:
@@ -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
@@ -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) {
|
||||
|
Reference in New Issue
Block a user