Open marvinscharle opened 1 month ago
The method isElementExist uses document.contains to check if the target element exists.
isElementExist
document.contains
However, if Zoomist is run inside ShadowRoot, the target element is not inside document. Thus, the check fails and raises immediately an error.
document
It would be nice, if the check could be adjusted to allow usage inside ShadowRoot.
Thank you and keep up the good work! :-)
@marvinscharle Thanks for your suggestion! I'll fix it when I have some free time.
The method
isElementExist
usesdocument.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! :-)