unclecheese / react-selectable

A component for react that allows mouse selection of child items
MIT License
142 stars 72 forks source link

Pass event object to onSelection #21

Closed Lukavyi closed 7 years ago

Lukavyi commented 8 years ago

If you pass and event object to onSelection, it would be easier to capture ctrl, or cmd button press, in order to concat results.

unclecheese commented 8 years ago

True. If you submit a PR for that, I'd be happy to merge it.

Lukavyi commented 8 years ago

Thanks

bortexz commented 8 years ago

Hi, when selectOnMouseMove, the event is not passed. I open a PR for that