chore(ContextMenu/DropdownMenu): set modal to true by default

This commit is contained in:
Benjamin Canac
2024-08-06 18:37:03 +02:00
parent 5e294e7e21
commit daa98c56fa
3 changed files with 18 additions and 20 deletions

View File

@@ -66,8 +66,7 @@ import UContextMenuContent from './ContextMenuContent.vue'
import { omit } from '../utils'
const props = withDefaults(defineProps<ContextMenuProps<T>>(), {
portal: true,
modal: false
portal: true
})
const emits = defineEmits<ContextMenuEmits>()
const slots = defineSlots<ContextMenuSlots<T>>()

View File

@@ -75,8 +75,7 @@ import UDropdownMenuContent from './DropdownMenuContent.vue'
import { omit } from '../utils'
const props = withDefaults(defineProps<DropdownMenuProps<T>>(), {
portal: true,
modal: false
portal: true
})
const emits = defineEmits<DropdownMenuEmits>()
const slots = defineSlots<DropdownMenuSlots<T>>()