Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown selection loses focus on first keyboard keydown. #887

Closed
yagizozturk opened this issue Jul 8, 2019 · 4 comments · Fixed by #909 · May be fixed by #933
Closed

Dropdown selection loses focus on first keyboard keydown. #887

yagizozturk opened this issue Jul 8, 2019 · 4 comments · Fixed by #909 · May be fixed by #933

Comments

@yagizozturk
Copy link

PLEASE MAKE SURE THAT:

  • you searched similar issues online (9/10 issues in this repo are solved by googling, so please...do it)
  • you provide an online demo I can see without having to replicate your environment
  • you help me by debugging your issue, and if you can't, do go on filling out this form

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior

After autocomplete menu is shown, first element loses highlight after first keydown pressed.

Expected behavior

It should hold the highlight

Minimal reproduction of the problem with instructions (if applicable)

type something. Open Autocomplete, select first item with keyboard keydown. İt gets highlighted and quickly loses highlight. On a second attempt it works.

What do you use to build your app?. Please specify the version

Webpack

Angular version:

8

ngx-chips version:

last

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

@yagizozturk yagizozturk changed the title Dropdown highlight loses focus on first keyboard keydown. Dropdown selection loses focus on first keyboard keydown. Jul 8, 2019
@andn99
Copy link

andn99 commented Aug 13, 2019

I got the same issue.

@vsarunov
Copy link

What is your setup for it?

@yagizozturk
Copy link
Author

I am on macbook pro. 2.6Ghz. 16 GB Ram. 64 Bit 70.0.3538.110 chrome

marob added a commit to marob/ngx-chips that referenced this issue Oct 24, 2019
@akirpichnikov
Copy link

@Gbuomprisco is there any chance that this PR will be merged?

Gbuomprisco added a commit that referenced this issue Aug 10, 2020
Co-authored-by: Giancarlo Buomprisco <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants