dillon1000/react

Commit

Ignore events on text nodes (#9000)

In React Native events can fire on text nodes (on Android at least).

In that case, the current element will be a string and not props. These
can not have event handlers on them so we need to bail out so that
we don't throw later on.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/shared/shared/event/EventPluginHub.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…