Skip to content

Conversation

elicwhite
Copy link
Member

React Native is changing the event target to be a react element instance instead of a reactTag. We pull this element instance off of the fiber, which might be null, thus the target might now be null.

It looks like the only thing that uses the target is SyntheticEvent which just sets it on the event:

if (propName === 'target') {
this.target = nativeEventTarget;
} else {

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3daa736:

Sandbox Source
mutable-grass-i9y10 Configuration

@sizebot
Copy link

sizebot commented Nov 11, 2019

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 3daa736

@sizebot
Copy link

sizebot commented Nov 11, 2019

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 3daa736

@elicwhite elicwhite merged commit 01bce8c into facebook:master Nov 11, 2019
elicwhite added a commit to elicwhite/react that referenced this pull request Dec 19, 2019
elicwhite added a commit to elicwhite/react that referenced this pull request Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants