forked from valor-software/ngx-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(typeahead) stop selecting first result when displaying matches
Switches from always setting the first result to be the active one, and instead initially displays the result list with no active item. After the pressing down/up keys the first/last item will be selected. Also cleans up the keyboard interaction when alternating between navigating between matches with arrow keys and typing additional characters, by keeping the previous match selected if it continues to be a match with the new results, instead of the previous behavior of resetting to the first item selected. Closes valor-software#3965
- Loading branch information
Showing
3 changed files
with
47 additions
and
30 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
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