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 9d42f5a commit 650e741Copy full SHA for 650e741
packages/vue-final-modal/src/plugin.ts
@@ -4,8 +4,8 @@ import { internalVfmSymbol, vfmSymbol } from './injectionSymbols'
4
import type { InternalVfm, Modal, ModalId, UseModalOptionsPrivate, Vfm } from './Modal'
5
6
export function createVfm() {
7
- const modals: ComputedRef<Modal>[] = []
8
- const openedModals: ComputedRef<Modal>[] = []
+ const modals: ComputedRef<Modal>[] = shallowReactive([])
+ const openedModals: ComputedRef<Modal>[] = shallowReactive([])
9
const dynamicModals: UseModalOptionsPrivate<{}, {}>[] = shallowReactive([])
10
const modalsContainers = ref<symbol[]>([])
11
0 commit comments