Custom elements using is
not recognized as custom elements
#2122
Labels
enhancement
New feature or request
is
not recognized as custom elements
#2122
I am experiencing #1735 with
<canvas is="my-web-component">
.I assume this is because the
isCE
check (maybe here?) is incorrect. The correct way to check for a custom element is to use thewindow.customElements
registry like so:In the meantime I've worked around it by refactoring my custom element to
<my-web-component>
instead, but this is not ideal.The text was updated successfully, but these errors were encountered: