downshift ^1.31.14:node v10.0.0:yarn: 1.6.0Hello!
I looking for your help. I'm working on the app and trying to integrate downshift. For some reason I've got the issue - onChange event is not firing.
I've no reproducible example, sorry. I've tried to reproduce the issue but in other apps everything works like a charm. And the issue is most likely app related.
As I find out the this.setState callback in this.internalSetState return statement is not firing and this explains why the onChange is not working. In the same time the internal state is updates as expected.
Could you please suggest what in the the app might be the issue for this?
Thank you for the project!
Sincerely,
Nikolay.
Hey @kohgpat
Not sure if this relates to your specific case, but I encountered something similar, and it was to do with a mismatched React-dom 15 and React 16. The setState callback seems to be invoked differently between the versions.
@aMollusk Hey. Thank you for the suggestion. I'll take a look in this direction.
@aMollusk You was totally right. Someone on the project messed up dependencies. Thank you!
Most helpful comment
Hey @kohgpat
Not sure if this relates to your specific case, but I encountered something similar, and it was to do with a mismatched React-dom 15 and React 16. The
setStatecallback seems to be invoked differently between the versions.