Skip to content

fix(cdk/platform): account for composedPath error during event replay#33409

Merged
crisbeto merged 1 commit into
angular:mainfrom
crisbeto:33386/composed-path
Jun 17, 2026
Merged

fix(cdk/platform): account for composedPath error during event replay#33409
crisbeto merged 1 commit into
angular:mainfrom
crisbeto:33386/composed-path

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Calling event.composedPath during event replay throws an error. These changes add a try/catch around it so it doesn't show up for users.

Fixes #33386.

Calling `event.composedPath` during event replay throws an error. These changes add a `try/catch` around it so it doesn't show up for users.

Fixes angular#33386.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jun 17, 2026
@pullapprove pullapprove Bot requested review from andrewseguin and tjshiu June 17, 2026 07:59
@crisbeto crisbeto requested a review from ok7sai June 17, 2026 08:00
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jun 17, 2026
@crisbeto crisbeto merged commit 10db3e3 into angular:main Jun 17, 2026
39 of 43 checks passed
@crisbeto

Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

crisbeto added a commit that referenced this pull request Jun 17, 2026
…#33409)

Calling `event.composedPath` during event replay throws an error. These changes add a `try/catch` around it so it doesn't show up for users.

Fixes #33386.

(cherry picked from commit 10db3e3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: cdk/platform 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(material/select): click during hydration event replay throws "composedPath called during event replay"

2 participants