-
Notifications
You must be signed in to change notification settings - Fork 20.6k
[WIP] Event: Use one native handler per jQuery handler #3127
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
base: main
Are you sure you want to change the base?
Conversation
Some tests are still failing, need to fix propagation issues
|
||
if ( elem.addEventListener ) { | ||
elem.addEventListener( type, eventHandle ); | ||
elem.addEventListener( type, handleObj ); |
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.
This is still guarded by:
if ( !( handlers = events[ type ] ) ) {
making it one addEventListener
per event type... Or am I reading it wrong?
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.
Hmm, I'll definitely look into that. Seems like a LOT of stuff should have broken.
@dmethvin was it supposed to get closed? I suppose not as it still has a milestone so I'm reopening it. |
Looks like I accidentally deleted the fork in August which closed it, so yeah it should still be open. |
Closing & re-opening the PR to trigger the EasyCLA check... |
|
This is definitely a v4 kind of thing with breaking changes and it still needs more work before it passes tests, but I'll post it here in case anyone has thoughts or comments.
EDIT: All my comments from below are in my fork, dmethvin@113ce67