fix: prevent language&emoji pickers from overflowing (#735)
This commit is contained in:
parent
b14add8c83
commit
f4ff6ee35d
3 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,7 @@ import { InjectionKeyDropdownContext } from '~/constants/symbols'
|
|||
|
||||
defineProps<{
|
||||
placement?: string
|
||||
autoBoundaryMaxSize?: boolean
|
||||
}>()
|
||||
|
||||
const dropdown = $ref<any>()
|
||||
|
@ -19,7 +20,7 @@ defineExpose({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<VDropdown v-bind="$attrs" ref="dropdown" :class="colorMode.value" :placement="placement || 'auto'">
|
||||
<VDropdown v-bind="$attrs" ref="dropdown" :class="colorMode.value" :placement="placement || 'auto'" :auto-boundary-max-size="autoBoundaryMaxSize">
|
||||
<slot />
|
||||
<template #popper="scope">
|
||||
<slot name="popper" v-bind="scope" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue