Skip to content

Does not work inside ShadowRoot #50

@marvinscharle

Description

@marvinscharle

The method isElementExist uses document.contains to check if the target element exists.

However, if Zoomist is run inside ShadowRoot, the target element is not inside document. Thus, the check fails and raises immediately an error.

It would be nice, if the check could be adjusted to allow usage inside ShadowRoot.

Thank you and keep up the good work! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions