diff --git a/src/renderers/dom/client/ReactEventListener.js b/src/renderers/dom/client/ReactEventListener.js index 2f2e721939..1cec1ff955 100644 --- a/src/renderers/dom/client/ReactEventListener.js +++ b/src/renderers/dom/client/ReactEventListener.js @@ -126,7 +126,7 @@ function handleTopLevelWithPath(bookKeeping) { ); // Jump to the root of this React render tree - while (currentPathElementID !== newRootID) { + while (currentPathElementID !== newRootID) { i++; currentPathElement = path[i]; currentPathElementID = ReactMount.getID(currentPathElement);