Skip to content
New issue

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

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

Already on GitHub? # to your account

Autocomplete - Prompt appears on initial page load even when component does not have focus #355

Closed
sri-viswanathan opened this issue Oct 10, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sri-viswanathan
Copy link
Collaborator

sri-viswanathan commented Oct 10, 2022

Describe the bug
The promptMessage appears on initial page load even when the component does not have focus

To Reproduce
Steps to reproduce the behavior:

  1. Go to a page in an app that uses the Autocomplete component and where it does not receive focus on page load
  2. Ensure that the Autocomplete component is set up to display a promptMessage based on a promptCondition
  3. Refresh the page
  4. Note that the promptMessage is visible even though the Autocomplete component does not have focus

Expected behavior
The promptMessage and promptCondition should kick in only when the Autocomplete field explicitly has focus.

Please follow the following instruction to create the new branch:

git checkout release/0.6
git pull
git checkout -b 'feature/autocomplete-prompt
@daniele-zurico
Copy link
Contributor

Closed by #357

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants