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

Typeahead with hint gets invalid input #5493

Closed
deeg opened this issue Feb 16, 2016 · 3 comments
Closed

Typeahead with hint gets invalid input #5493

deeg opened this issue Feb 16, 2016 · 3 comments

Comments

@deeg
Copy link
Contributor

deeg commented Feb 16, 2016

See this plunker for issue

Steps to reproduce:

  • Go to second input on the plunker and type the letter "r"
  • With results showing, hit shift + tab
  • Notice the input has the word route in it

Note: Depending on the first letter typed, the input after tabbing out will be different.

@wesleycho
Copy link
Contributor

This must be tab completion happening - this is an accessibility bug, and probably a case that wasn't anticipated.

@deeg
Copy link
Contributor Author

deeg commented Feb 16, 2016

@wesleycho, tab completion from where? Where do you think the value is coming from?

@wesleycho
Copy link
Contributor

There is a listener for the keypress event, and it checks whether the key pressed is a tab, but we need to be screening out for if shift is pressed.

deeg added a commit to deeg/bootstrap that referenced this issue Feb 17, 2016
Stops the tab completion action from happening when shift key is also pressed.

Fixes angular-ui#5493
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants