New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow up fix to 19452 #19454
Follow up fix to 19452 #19454
Conversation
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 34baa28:
|
Details of bundled changes.Comparing: 242a50a...34baa28 react-dom
Size changes (stable) |
Details of bundled changes.Comparing: 242a50a...34baa28 react-dom
Size changes (experimental) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this in but then consider a refactor where we use delegation for capture-phase events.
This PR is a follow up to #19452. In that PR I forgot to reset the target fiber to be that of the container for when we deal with non-delegated events. Otherwise, we'll only ever process the
event.target
, which I forgot to test against.