diff --git a/src/renderers/dom/client/ReactEventListener.js b/src/renderers/dom/client/ReactEventListener.js index b2d328e3b90..ea22e29e8a9 100644 --- a/src/renderers/dom/client/ReactEventListener.js +++ b/src/renderers/dom/client/ReactEventListener.js @@ -62,13 +62,18 @@ PooledClass.addPoolingTo( ); function handleTopLevelImpl(bookKeeping) { - if (bookKeeping.nativeEvent.path && bookKeeping.nativeEvent.path.length > 1) { - // New browsers have a path attribute on native events - handleTopLevelWithPath(bookKeeping); - } else { - // Legacy browsers don't have a path attribute on native events - handleTopLevelWithoutPath(bookKeeping); - } + // TODO: Re-enable event.path handling + // + // if (bookKeeping.nativeEvent.path && bookKeeping.nativeEvent.path.length > 1) { + // // New browsers have a path attribute on native events + // handleTopLevelWithPath(bookKeeping); + // } else { + // // Legacy browsers don't have a path attribute on native events + // handleTopLevelWithoutPath(bookKeeping); + // } + + void handleTopLevelWithPath; // temporarily unused + handleTopLevelWithoutPath(bookKeeping); } // Legacy browsers don't have a path attribute on native events