Skip to content
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

🐛 Fix unobserve error for non-Element parameter #3218

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

amortemousque
Copy link
Contributor

Motivation

Fix unobserve error for non-Element parameter. This can legitimately happen in the context of puppeteer injection. cf: PR

Changes

Use resizeObserver.disconnect() instead of resizeObserver.unobserve(observerTarget)

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@amortemousque amortemousque requested a review from a team as a code owner December 16, 2024 08:07
@amortemousque amortemousque changed the title Fix unobserve error for non-Element parameter 🐛 Fix unobserve error for non-Element parameter Dec 16, 2024
@amortemousque amortemousque merged commit 8692f02 into main Dec 16, 2024
20 checks passed
@amortemousque amortemousque deleted the aymeric/fix-unobserve-error branch December 16, 2024 14:13
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.

3 participants