-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements and fixes, mostly per feedback from wkeese.
- Loading branch information
Adrian Vasiliu
committed
Jan 29, 2015
1 parent
485ba54
commit c70321a
Showing
2 changed files
with
75 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c70321a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's weird that you're calling a function called "_navigationHandler" on click. A click is for selecting and closing the dropdown, not for navigation.
Why not put the closeDropDown() call inside the click handler?
Also, I don't see where the code is for closing the drop down based on enter key, but presumably that should follow the same code path as the click handler.
PS: In other words, put back the old handler for "keynav-child-navigated" and then just move the closeDropDown() call to the click handler.