|
|
@@ -381,7 +381,9 @@ export class TeleportFragment extends VaporFragment {
|
|
|
} else {
|
|
|
// enabled teleport with null target: init children without
|
|
|
// hydration since there's no target to hydrate into.
|
|
|
- this.mountAnchor = this.anchor = locateTeleportEndAnchor()!
|
|
|
+ this.mountAnchor = this.anchor = locateTeleportEndAnchor(
|
|
|
+ currentHydrationNode!.nextSibling!,
|
|
|
+ )!
|
|
|
this.mountContainer = this.anchor && this.anchor.parentNode
|
|
|
runWithoutHydration(this.initChildren.bind(this))
|
|
|
}
|