Closed grassick closed 8 years ago
Ok, tested and works great!
Thanks!
That's strange... I don't see these changes in master. Master still has the delaying binding issue in that setTimeout will run the next tick and leave a listener behind.
see my comment here - https://github.com/boblauer/react-onclickout/issues/6#issuecomment-158823487
I haven't actually tested this (sorry, one of those days), but it should prevent the unnecessary adding of a listener and it's really simple.