diff --git a/src/renderers/dom/client/utils/getEventTarget.js b/src/renderers/dom/client/utils/getEventTarget.js index 0a44935b30565..83bd08b2a2558 100644 --- a/src/renderers/dom/client/utils/getEventTarget.js +++ b/src/renderers/dom/client/utils/getEventTarget.js @@ -20,6 +20,12 @@ */ function getEventTarget(nativeEvent) { var target = nativeEvent.target || nativeEvent.srcElement || window; + + // Normalize SVG element events #4963 + if (target.correspondingUseElement) { + target = target.correspondingUseElement; + } + // Safari may fire events on text nodes (Node.TEXT_NODE is 3). // @see http://www.quirksmode.org/js/events_properties.html return target.nodeType === 3 ? target.parentNode : target;