diff --git a/packages/core/src/Select/SelectContentImpl.vue b/packages/core/src/Select/SelectContentImpl.vue index 5fb9603be..4439b4e73 100644 --- a/packages/core/src/Select/SelectContentImpl.vue +++ b/packages/core/src/Select/SelectContentImpl.vue @@ -3,7 +3,7 @@ import type { ComponentPublicInstance, Ref, } from 'vue' -import type { PointerDownOutsideEvent } from '@/DismissableLayer' +import type { DismissableLayerProps, PointerDownOutsideEvent } from '@/DismissableLayer' import type { PopperContentProps } from '@/Popper' import type { AcceptableValue } from '@/shared/types' import { useCollection } from '@/Collection' @@ -60,7 +60,7 @@ export type SelectContentImplEmits = { pointerDownOutside: [event: PointerDownOutsideEvent] } -export interface SelectContentImplProps extends PopperContentProps { +export interface SelectContentImplProps extends PopperContentProps, DismissableLayerProps { /** * The positioning mode to use * @@ -99,6 +99,7 @@ const props = withDefaults(defineProps(), { align: 'start', position: 'item-aligned', bodyLock: true, + disableOutsidePointerEvents: true, }) const emits = defineEmits() @@ -285,7 +286,7 @@ provideSelectContentContext({ >