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

[scoped-custom-element-registry] No support for append #600

Open
5 tasks done
jonathandewitt-dev opened this issue Nov 25, 2024 · 0 comments
Open
5 tasks done

[scoped-custom-element-registry] No support for append #600

jonathandewitt-dev opened this issue Nov 25, 2024 · 0 comments

Comments

@jonathandewitt-dev
Copy link

Description

Currently, the only way I can get scoped elements to upgrade is by using innerHTML, but if I attempt with append, nothing upgrades.

Example

This works:

shadowRoot.innerHTML = '<scoped-element></scoped-element>';

This does not:

shadowRoot.append(fragment);

Expected behavior

Element should upgrade when appended.

Actual behavior

Element is not upgraded.

Version

0.0.9

Browsers affected

  • Chrome
  • Firefox
  • Edge
  • Safari
  • IE 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant