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

onFocus gets triggered on AutoComplete on every key stroke. #228

Open
5 tasks done
guiherzog opened this issue Jan 21, 2020 · 0 comments
Open
5 tasks done

onFocus gets triggered on AutoComplete on every key stroke. #228

guiherzog opened this issue Jan 21, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@guiherzog
Copy link
Contributor

Bug Report

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository?
  • Did you perform a search in the issues?

For more information, see the CONTRIBUTING guide.

Versions

Precise-UI: 0.8.1

Description

Every time a key is pressed on the Autocomplete component, the onFocus method gets called.

Steps to Reproduce

  1. Go to Kitchen Sink
  2. Log the onFocus method.
  3. Type a few keys in the input.
  4. The log will be printed the same amount of keys pressed

Expected behavior: onFocus gets called only when focusing

Actual behavior: onFocus gets called for every keystroke

Environment details: Chrome 79, MacOS

@guiherzog guiherzog added the bug Something isn't working label May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant