Skip to content
This repository was archived by the owner on Nov 22, 2021. It is now read-only.

Hitting tab key on tagsInput results in blinking focus going forward and back #820

Open
belfz opened this issue Sep 4, 2017 · 1 comment

Comments

@belfz
Copy link

belfz commented Sep 4, 2017

ngTagsInput version: 3.2.0
angular version: 1.5.8
browser: Chrome 60
steps to reproduce:

  1. go to project's website,
  2. type "test" into demo input,
  3. hit tab key on your keyboard,
  4. watch carefully: focus "jumps forward" to next element for a short while (in this case, the next anchor element) and then "jumps back" to tags input

I have the solution for this problem - will send a PR shortly.

belfz added a commit to belfz/ngTagsInput that referenced this issue Sep 4, 2017
When the tab key is hit (in order to add the tag to the list), the
"jumping focus" problem will no longer occur.

Closes mbenford#820.
@belfz
Copy link
Author

belfz commented Sep 11, 2017

@mbenford ping!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant