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

Does not work inside ShadowRoot #50

Open
marvinscharle opened this issue Jul 30, 2024 · 1 comment
Open

Does not work inside ShadowRoot #50

marvinscharle opened this issue Jul 30, 2024 · 1 comment

Comments

@marvinscharle
Copy link

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! :-)

@cotton123236
Copy link
Owner

@marvinscharle
Thanks for your suggestion! I'll fix it when I have some free time.

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

2 participants