Skip to content

fix event listener methods not being bound correctly#570

Merged
robin-drexler merged 1 commit into
mainfrom
rd/fix-event-polyfill
Jun 5, 2025
Merged

fix event listener methods not being bound correctly#570
robin-drexler merged 1 commit into
mainfrom
rd/fix-event-polyfill

Conversation

@robin-drexler
Copy link
Copy Markdown
Member

No description provided.

@robin-drexler robin-drexler force-pushed the rd/fix-event-polyfill branch 4 times, most recently from d42033d to 4a42f36 Compare May 22, 2025 20:14
@robin-drexler
Copy link
Copy Markdown
Member Author

/snapit

@shopify-github-actions-access
Copy link
Copy Markdown
Contributor

🫰✨ Thanks @robin-drexler! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

"@remote-dom/core": "0.0.0-snapshot-20250522201554",
"@remote-dom/polyfill": "0.0.0-snapshot-20250522201554"

@robin-drexler robin-drexler requested a review from lemonmade May 22, 2025 20:38
@robin-drexler robin-drexler marked this pull request as ready for review May 22, 2025 20:38
Copy link
Copy Markdown
Contributor

@lemonmade lemonmade left a comment

Choose a reason for hiding this comment

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

Thanks Robin!

Comment thread packages/polyfill/source/Window.ts Outdated
for (const [key, descriptor] of Object.entries(
eventTargetPrototypeProperties,
)) {
eventTargetPrototypeProperties[key] = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could we just mutate the underlying descriptor instead of creating a new one?

@robin-drexler robin-drexler force-pushed the rd/fix-event-polyfill branch from 4a42f36 to 33baaba Compare June 3, 2025 14:22
@robin-drexler
Copy link
Copy Markdown
Member Author

/snapit

@shopify-github-actions-access
Copy link
Copy Markdown
Contributor

🫰✨ Thanks @robin-drexler! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

"@remote-dom/core": "0.0.0-snapshot-20250603142616",
"@remote-dom/polyfill": "0.0.0-snapshot-20250603142616"

@robin-drexler robin-drexler merged commit 965a12f into main Jun 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants