We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2011419 commit 70037aaCopy full SHA for 70037aa
packages/runtime-vapor/src/components/Teleport.ts
@@ -100,8 +100,8 @@ export class TeleportFragment extends VaporFragment {
100
})
101
102
const nodes = this.nodes
103
- // register updateCssVars to sub fragments's effects so that
104
- // updateCssVars will be called when subtree changed
+ // register updateCssVars to root fragments's update hooks so that
+ // it will be called when root fragment changed
105
if (this.parentComponent && this.parentComponent.ut) {
106
if (isFragment(nodes)) {
107
;(nodes.updated || (nodes.updated = [])).push(() => updateCssVars(this))
0 commit comments