- Issue created by @R_H-L
- πΊπΈUnited States R_H-L
I did also try some other selectors, including base tags and none worked.
- πΊπΈUnited States R_H-L
Altered the code to make that call nullsafe
e.shadowRoot?.querySelectorAll(`:is(${n})`+s)
Which then resulted in the element being removed entirely from the DOM so that's less than ideal. Could a feature be added to have an "Always Scan these" for hidden things like accordions, or is there a method for making them scannable?
- πΊπΈUnited States itmaybejj
Afraid I won't be able to take a look for another week or two.
Sounds like two bugs most likely -- I'll have to make sure config is being passed correctly, and then make it resistant to nulls.
Are you able to tell me which URL can demonstrate the issue?
- Assigned to itmaybejj
- πΊπΈUnited States R_H-L
Unfortunately, all of our sites are access controlled by Single Sign On, so I can't give access.
-
itmaybejj β
committed 6f174db3 on 2.0.x
Issue #3379360 by R_H-L, itmaybejj: Use of ShadowRoot feature crashes...
-
itmaybejj β
committed 6f174db3 on 2.0.x
- Status changed to Fixed
over 1 year ago 8:10pm 15 August 2023 - πΊπΈUnited States itmaybejj
I was able to replicate an issue when defining an element as a shadow host that exists, but does not have a shadow root at the time of the test run. Holler if 2.0.14 doesn't fix your issue.
- πΊπΈUnited States R_H-L
Awesome. Seems to work, and scans within our accordion panels, as expected. Thank you!
Automatically closed - issue fixed for 2 weeks with no activity.