Skip to content

Allow for null targetFiber for root event handling#15247

Merged
trueadm merged 1 commit into
react:masterfrom
trueadm:allow-for-null-fiber-ancestors
Mar 29, 2019
Merged

Allow for null targetFiber for root event handling#15247
trueadm merged 1 commit into
react:masterfrom
trueadm:allow-for-null-fiber-ancestors

Conversation

@trueadm

@trueadm trueadm commented Mar 28, 2019

Copy link
Copy Markdown
Contributor

When dealing with the experimental event API, the target fiber might be null when the event is triggered on the document. This code path is a valid one and get's handled by the root events that are attached on demand from an event responder.

@trueadm trueadm merged commit 5d336df into react:master Mar 29, 2019
@trueadm trueadm deleted the allow-for-null-fiber-ancestors branch March 29, 2019 04:43
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.

3 participants