fix(Tooltip): missing root props proxy

This commit is contained in:
Benjamin Canac
2024-07-23 12:19:06 +02:00
parent fb6eae3f62
commit be8bf691c3

View File

@@ -55,7 +55,7 @@ const props = withDefaults(defineProps<TooltipProps>(), {
const emits = defineEmits<TooltipEmits>()
const slots = defineSlots<TooltipSlots>()
const rootProps = useForwardPropsEmits(reactivePick(props, 'defaultOpen', 'open', 'delayDuration'), emits)
const rootProps = useForwardPropsEmits(reactivePick(props, 'defaultOpen', 'open', 'delayDuration', 'disableHoverableContent', 'disableClosingTrigger', 'disabled', 'ignoreNonKeyboardFocus'), emits)
const contentProps = toRef(() => defu(props.content, { side: 'bottom', sideOffset: 8 }) as TooltipContentProps)
const arrowProps = toRef(() => props.arrow as TooltipArrowProps)