@samitouri / QOS-React / commits / a749f4fb63

Adding fix to EventPropagators that was accidentally omitted from PR #9219 (#9274)

Brian Vaughn committed Mar 28, 2017 at 11:24 UTC a749f4fb63657a3af1502047a5af876ebabb0e64
1 file changed +1 -1
src/renderers/shared/shared/event/EventPropagators.js
+1 -1
@@ -93,7 +93,7 @@ function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
93 * requiring that the `dispatchMarker` be the same as the dispatched ID.
94 */
95 function accumulateDispatches(inst, ignoredDirection, event) {
96 - if (event && event.dispatchConfig.registrationName) {
96 + if (inst && event && event.dispatchConfig.registrationName) {
97 var registrationName = event.dispatchConfig.registrationName;
98 var listener = getListener(inst, registrationName);
99 if (listener) {