sickdyd / react-search-autocomplete

A search box that filters the provided array of objects
https://sickdyd.github.io/react-search-autocomplete
MIT License
222 stars 85 forks source link

List of items opens and closes immediately after clicking on the input field #110

Open jgatto1 opened 1 year ago

jgatto1 commented 1 year ago

Describe the bug The list of items are hidden immediately after clicking on the input field despite having showItemsOnFocus={true}

Codesandbox example Here is the sample

To Reproduce Steps to reproduce the behavior:

  1. Click on the input field
  2. See how it opens and closes automatically

Expected behavior After clicking don't hide it automatically, it should keeps opened

Screenshots If applicable, add screenshots to help explain your problem.

Additional context No context

saravananr7 commented 1 year ago

this option added but not set data in show input box only show type letter only

djaffer commented 1 year ago

same bug.