[react-interactions] Fix unatached fiber bug (#17371)

This commit is contained in:
Dominic Gannaway
2019-11-15 00:47:33 +00:00
committed by GitHub
parent 1832f832c5
commit f30ccb9ed9
+1 -2
View File
@@ -482,10 +482,9 @@ function dispatchBeforeDetachedBlur(target: HTMLElement): void {
}
function dispatchDetachedBlur(target: HTMLElement): void {
const targetInstance = getClosestInstanceFromNode(target);
dispatchEventForResponderEventSystem(
'blur',
targetInstance,
null,
({
isTargetAttached: false,
target,