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

Not closing Suggestion list when outside click or input blur #41

Open
akshaykatale99 opened this issue Dec 26, 2019 · 3 comments
Open

Comments

@akshaykatale99
Copy link

Not closing Suggestion list when outside click or input blur

@sjohnson32
Copy link

I have a similar issue. When the user types a value into the input and tabs out of it, the dropdown does not close. I need to have the option of either typing in a value of selecting one from the dropdown. Currently only selecting an option from the list closes the dropdown.

@snill93
Copy link

snill93 commented Oct 2, 2021

Hi guys, news from this?

@tatums
Copy link

tatums commented Oct 18, 2022

I bumped into this too 😞 Here is a workaround that seems to be working.

<input
    type="text"
    #typeAheadInput
    (blur)="onBlur($event, typeAheadInput)" 
    ... 
    >
  onBlur(_event, typeAheadInput) {
    typeAheadInput.hideSuggestions()
    setTimeout(typeAheadInput.hideSuggestions(), 500)
  }

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

No branches or pull requests

4 participants