|
@@ -18,7 +18,7 @@ import {
|
|
|
warn,
|
|
warn,
|
|
|
watch,
|
|
watch,
|
|
|
} from '@vue/runtime-dom'
|
|
} from '@vue/runtime-dom'
|
|
|
-import { type Block, insert, remove } from '../block'
|
|
|
|
|
|
|
+import { type Block, insert, move, remove } from '../block'
|
|
|
import {
|
|
import {
|
|
|
type ObjectVaporComponent,
|
|
type ObjectVaporComponent,
|
|
|
type VaporComponent,
|
|
type VaporComponent,
|
|
@@ -358,7 +358,7 @@ export function deactivate(
|
|
|
instance: VaporComponentInstance,
|
|
instance: VaporComponentInstance,
|
|
|
container: ParentNode,
|
|
container: ParentNode,
|
|
|
): void {
|
|
): void {
|
|
|
- insert(instance.block, container)
|
|
|
|
|
|
|
+ move(instance.block, container)
|
|
|
|
|
|
|
|
queuePostFlushCb(() => {
|
|
queuePostFlushCb(() => {
|
|
|
if (instance.da) invokeArrayFns(instance.da)
|
|
if (instance.da) invokeArrayFns(instance.da)
|