Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix keyboard navigation in dropdown #68

Merged
merged 1 commit into from
May 6, 2022
Merged

Fix keyboard navigation in dropdown #68

merged 1 commit into from
May 6, 2022

Conversation

kerryj89
Copy link

@kerryj89 kerryj89 commented May 6, 2022

The previous change assumed jQuery was in use (angular.element uses jQuery Lite by default which does NOT support class names with .find() - https://docs.angularjs.org/api/ng/function/angular.element). This change works without wrapping angular.element() around the selectors but I did it to keep it AngularJS-ish (don't really know if there are benefits to making it into a jqLite or jQuery object again).

…properties of undefined (reading 'focus')

The previous change assumed jQuery was in use (angular.element uses jQuery Lite by default which does NOT support class names with .find() -  https://docs.angularjs.org/api/ng/function/angular.element).  This change works without wrapping angular.element() around the selectors but I did it to keep it AngularJS-ish (don't really know if there are benefits to making it into a jqLite or jQuery object again).
@kerryj89
Copy link
Author

kerryj89 commented May 6, 2022

#67

@Morgul
Copy link
Owner

Morgul commented May 6, 2022

That seems like a reasonable fix.

I'll try to remind myself how to do a release this weekend. (Haven't even looked at this project in years. 😅)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants