-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
When testing for compatibility of ember-bootstrap with Glimmer2, I get the following exception with the modal component that uses ember-wormhole:
DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
I narrowed it down to ember-wormhole using a conditional statement, as shown in the following minimalistic example. As soon as show
is set to true
, I get the mentioned exception:
{{#ember-wormhole to="worm"}}
<p>This is wormholed content.</p>
{{#if show}}
<p>This is conditional content.</p>
{{/if}}
{{/ember-wormhole}}
Here is a demo repo to replicate this bug: https://github.com/simonihmig/ember-wormhole-glimmer2-demo
I am not sure who is to blame here, if it is ember-wormhole or Glimmer2, so first filing this here for the time being...
Metadata
Metadata
Assignees
Labels
No labels