Closed jonathanni closed 3 years ago
Hallo @jonathanni! Thank you for reporting this issue. I fixed the issue in the release 5.0.5
. Check out the codesandbox below. I also made it so that the values are different at each update, so that you can see that the search results are updated as soon as items are updated.
https://codesandbox.io/s/runtime-pond-w77zk?file=/src/App.js
This looks great, updated the package on my end and we don't have issues anymore. Thank you for resolving this issue!
I'm not sure this is supposed to happen. Suppose I had a simple component:
The first time
items
is set on the component, the search suggestions don't pop up unless we focus on the component, which is expected behavior. But once we select an item and wait for 10 seconds, the callback to refresh the data fires,items
is re-set, and the search suggestions pop up again.Is there any way to disable this behavior?
Thanks