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

Handle prefilled input value #9

Open
ob-ivan opened this issue Aug 21, 2017 · 0 comments
Open

Handle prefilled input value #9

ob-ivan opened this issue Aug 21, 2017 · 0 comments

Comments

@ob-ivan
Copy link

ob-ivan commented Aug 21, 2017

Consider following scenario with instant-submit option enabled:

  1. User inputs a search query and the page reloads to show search results.
  2. On the loaded page the search field is prefilled with the current search query.
  3. User clicks mic button to enter a new query.
  4. Case 1: Chrome blocks device access.
    • Expected behavior: nothing happens.
    • Actual behavior: the auto-submit feature submits the form, and the page is reloaded.
  5. Case 2: mic access is granted successfully.
    • Expected behavior: the input is cleared before the recognition starts.
    • Actual behavior: the new (recognized) query is appended to the previous one, and the search starts with the concatenation, providing incoherent results.
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