diff --git a/packages/react-reconciler/src/ReactFiberUnwindWork.js b/packages/react-reconciler/src/ReactFiberUnwindWork.js index c0c67c2536e1b..c1d068c6796d2 100644 --- a/packages/react-reconciler/src/ReactFiberUnwindWork.js +++ b/packages/react-reconciler/src/ReactFiberUnwindWork.js @@ -499,6 +499,12 @@ function unwindInterruptedWork(interruptedWork: Fiber) { case ContextProvider: popProvider(interruptedWork); break; + case EventComponent: + case EventTarget: + if (enableEventAPI) { + popHostContext(interruptedWork); + } + break; default: break; }