Open tomelliot opened 3 months ago
Looking at this further, the onSelect
handler is being fired twice for a single mouse click on some occasions.
I assume there's something in my implementation causing this (otherwise others would have noticed it) - is there a way to work out what's going on?
Environments
Description
I'm seeing inconsistent behaviour in
react-selecto
. Clicking an item will sometimes fire theonSelect
handler, and other times will not.I have a screenshot here showing
onSelect
handler logging whenever it is called<div>
that is a "target" for Selecto logging whenever itsonClick
is firedSelecto:
How can I go about debugging/working around this? Drag to select works as expected.