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(yield-wrapper): prevent circular reference in node replacement #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wandroll
Copy link
Contributor

@wandroll wandroll commented Apr 2, 2025

Add safety check to filter out wrapper element from nodes to avoid DOM circular reference error when replacing nodes in YieldWrapper component.

This would fix those sentry error

https://qonto.sentry.io/issues/6337008249/?project=160009

@wandroll
Copy link
Contributor Author

wandroll commented Apr 2, 2025

#web

@SkoebaSteve
Copy link
Collaborator

SkoebaSteve commented Apr 2, 2025

I'm curious, how did you validate this solved it? Also, do you know why this happens in the first place?

@wandroll wandroll force-pushed the fix_yield-wrapper-circular-reference branch from 7988cd3 to 9427808 Compare April 3, 2025 07:32
@wandroll wandroll force-pushed the fix_yield-wrapper-circular-reference branch from 158d3bc to 639263c Compare April 3, 2025 07:36
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