[react-interactions] FocusWithin beforeblur propagation fix (#17375)
Dominic Gannaway committed
Nov 15, 2019 at 12:05 UTC
532810a370cdb89eb12749f6e1cd59dd73acbeb4
1 file changed
+4
packages/react-interactions/events/src/dom/Focus.js
+4
@@ -544,6 +544,10 @@ const focusWithinResponderImpl = {
544
onBeforeBlurWithin,
545
DiscreteEvent,
546
);
547
+ } else {
548
+ // We want to propagate to next focusWithin responder
549
+ // if this responder doesn't handle beforeblur
550
+ context.continuePropagation();
551
}
552
}
553
}