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

Search input is not clearing autocomplete when losing focus #12

Open
JamesDuncanFlindersUni opened this issue Feb 11, 2019 · 0 comments

Comments

@JamesDuncanFlindersUni
Copy link

Hi,

For the 'suggestions' inputMode when a user types a partial search then uses the arrow keys or the mouse to hover over a suggestion in the dropdown, the text in the searchbox is updated to match. If, however, the input loses focus (i.e. the user clicks away or hits tab) before the search is submitted, the text does not revert back to the original partial query.

As a consequence, the value of "q" as last reported by the instantPipeline is the partial query, and not the value shown in the input.

I have reproduced this in the attached gif, where a user types "medic" then uses arrow keys to highlight "medical ethics" then uses the tab key to change focus to another element.

sajari_input_issue_autocomplete_sticky

Browser: Chrome Version 71.0.3578.98 (Official Build) (64-bit)

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

1 participant