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

MutationObserver shadow-dom show NotFoundError in IE11 #504

Open
1 of 5 tasks
zhoukekestar opened this issue Apr 12, 2022 · 2 comments
Open
1 of 5 tasks

MutationObserver shadow-dom show NotFoundError in IE11 #504

zhoukekestar opened this issue Apr 12, 2022 · 2 comments
Labels

Comments

@zhoukekestar
Copy link

Description

See the example.

Example

<script src="https://gw.alipayobjects.com/os/lib/webcomponents/webcomponentsjs/2.6.0/webcomponents-bundle.js"></script>


<div id="shadowHost"></div>
<script>
  shadowHost.attachShadow({mode:'open'}).innerHTML = '<div></div>';

  (new MutationObserver(function (mutationsList) {
    console.info('mutated');
  })).observe(shadowHost.shadowRoot, { childList: true });

  shadowHost.shadowRoot.appendChild(document.createElement('div'));

</script>

Steps to reproduce

see the example

Expected behavior

No Error

Actual behavior

NotFoundError

Version

@webcomponents/webcomponentsjs@2.6.0

Browsers affected

  • Chrome
  • Firefox
  • Edge
  • Safari
  • IE 11
@zhoukekestar
Copy link
Author

zhoukekestar commented Apr 12, 2022

image

@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants