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

input 'blur' handler clears suggestions too often #229

Open
jwasilgeo opened this issue Oct 28, 2019 · 0 comments
Open

input 'blur' handler clears suggestions too often #229

jwasilgeo opened this issue Oct 28, 2019 · 0 comments
Labels

Comments

@jwasilgeo
Copy link
Contributor

The 'blur' event handler for this._input is not appropriate for all user actions when interacting with the suggestions-related nodes.

this.clear() is being called, when it should not be, if the user tries to interact with the suggestions scrollbar or clicks on another non-suggestion item (such as a suggestion provider header).

See more here:

DomEvent.addListener(this._input, 'blur', function (e) {
// TODO: this is too greedy and should not "clear"
// when trying to use the scrollbar or clicking on a non-suggestion item (such as a provider header)
this.clear();
}, this);

@jwasilgeo jwasilgeo added the Bug label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant