fix: select popper position (#272)

This commit is contained in:
Anton Reshetov 2024-01-14 17:33:12 +03:00 committed by GitHub
parent 825f14e8b5
commit 72857b6a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ const props = withDefaults(
defineProps<SelectContentProps & { class?: string }>(), { defineProps<SelectContentProps & { class?: string }>(), {
position: 'popper', position: 'popper',
sideOffset: 4, sideOffset: 4,
avoidCollisions: true,
}, },
) )
const emits = defineEmits<SelectContentEmits>() const emits = defineEmits<SelectContentEmits>()

View File

@ -13,6 +13,7 @@ const props = withDefaults(
defineProps<SelectContentProps & { class?: string }>(), { defineProps<SelectContentProps & { class?: string }>(), {
position: 'popper', position: 'popper',
sideOffset: 4, sideOffset: 4,
avoidCollisions: true,
}, },
) )
const emits = defineEmits<SelectContentEmits>() const emits = defineEmits<SelectContentEmits>()