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

Setting showHint on uibTypeAhead makes it unable to tab to it #5478

Closed
thomaux opened this issue Feb 15, 2016 · 4 comments
Closed

Setting showHint on uibTypeAhead makes it unable to tab to it #5478

thomaux opened this issue Feb 15, 2016 · 4 comments

Comments

@thomaux
Copy link

thomaux commented Feb 15, 2016

Setting the typeahead-show-hint option on an input with uib-typeahead makes it unable to use the TAB key to activate the typeahead input.

Plunkr

@Tom-V
Copy link

Tom-V commented Feb 16, 2016

true, the tabindexof the hintInputElementshould be set to -1.
At the moment you need to tab twice to get to the right element.

@wesleycho
Copy link
Contributor

Feel free to open a PR for this - should be an easy fix.

@thomaux
Copy link
Author

thomaux commented Feb 17, 2016

Thanks @deeg!

@franklindner
Copy link

This still seems to be broken. If I add the show-hint attribute it will always focus the outer element first and on the next tab select the inner input. Everything works as expected if I remove the attribute.

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.

5 participants