You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I remove <x-foo> from the DOM, then step 3 is false.
Also this only seems to happen with a production (rollup) build, not with a dev build :/ (specifically storybook build using vite build vs storybook dev)
Atm I only have time to report this and not create a reproduction :/
The text was updated successfully, but these errors were encountered:
jpzwarte
changed the title
[scoped-custom-element-registry] The scoped registry doesn't work in the DOM already contains the web component when it is defined.
[scoped-custom-element-registry] The scoped registry doesn't work if the DOM already contains the web component when it is defined.
Mar 9, 2023
<x-foo>
in the DOMcustomElements.define('x-foo', Foo);
window.customElements.get('x-bar') === Bar
Step 3 should be
false
, but istrue
.If I remove
<x-foo>
from the DOM, then step 3 is false.Also this only seems to happen with a production (rollup) build, not with a dev build :/ (specifically
storybook build
using vite build vsstorybook dev
)Atm I only have time to report this and not create a reproduction :/
The text was updated successfully, but these errors were encountered: