Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Typeahead: move focus to text input with arrow up #2650

Closed
wants to merge 2 commits into from
Closed

Typeahead: move focus to text input with arrow up #2650

wants to merge 2 commits into from

Conversation

danemacaulay
Copy link

Per issue #2597

Input element included in list of results with an activeIdx of -1 and is the default selection on typing. Arrow keys allow full range of navigation from list to input.

I think its good to no longer default to the list and have user explicitly arrow down to list, thoughts?

@chrisirhc
Copy link
Contributor

It looks good to combine the input element in arrow navigation on top of the typeahead-focus-first option suggested in #2916 as this should be opt-in and not a breaking change.

The tests here are also useful.

@danemacaulay
Copy link
Author

Sounds like a good idea. I'll update my pull request with the features from #2916 in the next couple of days

@wesleycho
Copy link
Contributor

@danemacaulay any update on this?

@wesleycho
Copy link
Contributor

Closing due to age - feel free to open a new pull request with comments addressed & rebased off of current master.

@wesleycho wesleycho closed this Nov 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants