Skip to content

fix(zone.js): should not clear onhandler when remove capture listener - #54602

Closed
JiaLiPassion wants to merge 1 commit into
angular:mainfrom
JiaLiPassion:on-event-remove-capture
Closed

fix(zone.js): should not clear onhandler when remove capture listener#54602
JiaLiPassion wants to merge 1 commit into
angular:mainfrom
JiaLiPassion:on-event-remove-capture

Conversation

@JiaLiPassion

Copy link
Copy Markdown
Contributor

Close #54581

Should not clear onHandler when remove capture event listeners.

@maxpatiiuk maxpatiiuk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! The code and test looks good 💎

Comment thread packages/zone.js/lib/common/events.ts Outdated
@AndrewKushnir AndrewKushnir added action: review The PR is still awaiting reviews from at least one requested reviewer area: zones Issues related to zone.js target: patch This PR is targeted for the next patch release labels Feb 26, 2024
@ngbot ngbot Bot added this to the Backlog milestone Feb 26, 2024
Close angular#54581

Should not clear `onHandler` when remove capture event listeners.
@JiaLiPassion
JiaLiPassion force-pushed the on-event-remove-capture branch from 7fbd86f to 9e2900b Compare February 27, 2024 04:34
@AndrewKushnir AndrewKushnir added action: presubmit The PR is in need of a google3 presubmit action: global presubmit The PR is in need of a google3 global presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer action: presubmit The PR is in need of a google3 presubmit labels Feb 27, 2024
@dasa

dasa commented Mar 11, 2024

Copy link
Copy Markdown

Is there an ETA for this? Thanks

@AndrewKushnir

Copy link
Copy Markdown
Contributor

Presubmit (TGP).

@AndrewKushnir

AndrewKushnir commented Mar 12, 2024

Copy link
Copy Markdown
Contributor

Caretaker note: TGP is "green", but it'd still be great to merge and sync this change separately.

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note risky Identifies a PR that has a level of risk to merging and removed action: global presubmit The PR is in need of a google3 global presubmit labels Mar 12, 2024
@dylhunn

dylhunn commented Mar 22, 2024

Copy link
Copy Markdown
Contributor

I'm going to hold this one until Monday, and sync it at the beginning of the week on its own.

@dylhunn

dylhunn commented Mar 27, 2024

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit e44b077.

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: zones Issues related to zone.js merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note risky Identifies a PR that has a level of risk to merging target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(Zone.js): removing capture:true event listener breaks .on* event listeners

5 participants