Sometimes items is an empty array when clicking an item #186
Closed
Description
downshift
version: latestnode
version: 8.4npm
(oryarn
) version: 5.3.0
What you did:
Select an item per left mouse click
What happened:
Most of the time it would select the item as expected. However sometimes it will not.
Reproduction repository:
https://codesandbox.io/s/l2yk1qqqrm
Problem description:*
This is due to the fact that at the point of time the item is clicked it has not yet been added to the items array.
Suggested solution:
No idea yet how to solve this.
Metadata
Assignees
Labels
No labels