mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 22:11:43 +01:00
chore(ContextMenu/DropdownMenu): set modal to true by default
This commit is contained in:
@@ -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>>()
|
||||
|
||||
@@ -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>>()
|
||||
|
||||
Reference in New Issue
Block a user