Skip to content

Commit

Permalink
composition: revert element upgrade order
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Jul 20, 2023
1 parent f98669c commit 30beeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Composition.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,8 @@ export default class Composition {
}

if (isShadowRoot) {
customElements.upgrade(instanceFragment);
target.append(instanceFragment);
customElements.upgrade(instanceFragment);
}

draw.target = target;
Expand Down

0 comments on commit 30beeb2

Please sign in to comment.