-
Notifications
You must be signed in to change notification settings - Fork 262
Open
Description
Hello,
We find an issue for scrolling up & down the lists available in dropdown while navigating through keyboard. Solution is found in the question below and it works for us.
Solution:
Add below code in mm-foundation-typeahead.js. file.
.directive('shouldFocus', function(){ </br>
return {
restrict: 'A',
link: function(scope,element,attrs){
scope.$watch(attrs.shouldFocus,function(newVal,oldVal){
if (newVal) {
element[0].scrollIntoView(false);
}
});
}
};
})
and add attribute with li element named should-focus="isActive($index)" in typeahead-popup.html.
Looking forward to incorporate this change asap.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels