Skip to content

Sometimes items is an empty array when clicking an item #186

Description

@ferdinandsalis
  • downshift version: latest
  • node version: 8.4
  • npm (or yarn) 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.

kapture 2017-09-12 at 17 37 48

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions