Skip to content

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

@deanylev

Description

@deanylev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions