mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[react-interactions] Fix unatached fiber bug (#17371)
This commit is contained in:
+1
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user