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

Updating tracked variables throws an exception when the receiving element is in a pictureinpicture window #1595

Open
deanylev opened this issue Aug 8, 2024 · 0 comments

Comments

@deanylev
Copy link

deanylev commented Aug 8, 2024

Due to this check:

if (node.ownerDocument !== document) {
while appending an element like this and then updating a tracked variable it relies on.

Wondering why that check exists in the first place, and whether we can make it a bit more robust to allow this case.

In my project I have simply patched out this line and it seems to work just fine.

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

No branches or pull requests

1 participant