furqanZafar / react-selectize

http://furqanzafar.github.io/react-selectize/
Apache License 2.0
704 stars 138 forks source link

onBlur, onFocus - event.persist() please. #99

Open beckend opened 8 years ago

beckend commented 8 years ago

Trying to integrate this lib to - for example redux-form. Passing the onBlur, onFocus - originalEvent. Gives a warning in console that the passed events needs event.persist() and ultimately fails. Using event.persist() on both worked.

MomchilGorchev commented 7 years ago

Hello, firstly thanks for the great package! Im kinda experiencing the same problem - having items with a close button on them populated in a MultiSelect. The problem is that whenever i click on a close button, the event bubbles up to the input and the dropdown is being toggled on/off for each click. The same problem can be reproduced on the demo page - http://furqanzafar.github.io/react-selectize/#/?category=multi&example=multi-select

Any updates or ideas how i can work around this ? I really like the package and doesn't want to switch to another one