ngx-typeahead icon indicating copy to clipboard operation
ngx-typeahead copied to clipboard

On focus should reopen the typeahead

Open IAMtheIAM opened this issue 8 years ago • 2 comments

When beginning a type ahead, for example "b" and then clicking away, following by focusing back on the input, it should retrigger the typeahead search popup . currently it does nothing.

Also, if a user presses enter after refocusing, instead of triggering the search, it autocompletes the first item in the list matching the already typed letters.

"b", click away, click back, press enter, "bruno mars" appears

IAMtheIAM avatar Jul 21 '17 21:07 IAMtheIAM

hi @IAMtheIAM i'm not sure about this behavior being the default for any typeahead. can you post some references?

orizens avatar Aug 28 '17 17:08 orizens

I will have to find some. But it seems more intuitive to me.For the first issue.

The second issue is a bug, because it will autocomplete the first item even without displaying it. When a user would expect enter to perform a search.

IAMtheIAM avatar Dec 22 '17 18:12 IAMtheIAM