diff --git a/src/runtime/components/Drawer.vue b/src/runtime/components/Drawer.vue index c35fddd5..0803a2e7 100644 --- a/src/runtime/components/Drawer.vue +++ b/src/runtime/components/Drawer.vue @@ -41,10 +41,6 @@ export interface DrawerProps extends Pick } @@ -79,7 +75,7 @@ const props = withDefaults(defineProps(), { const emits = defineEmits() const slots = defineSlots() -const rootProps = useForwardPropsEmits(reactivePick(props, 'activeSnapPoint', 'closeThreshold', 'shouldScaleBackground', 'setBackgroundColorOnScale', 'scrollLockTimeout', 'fixed', 'dismissible', 'modal', 'open', 'defaultOpen', 'nested', 'direction', 'noBodyStyles', 'handleOnly', 'preventScrollRestoration', 'snapPoints', 'fadeFromIndex'), emits) +const rootProps = useForwardPropsEmits(reactivePick(props, 'activeSnapPoint', 'closeThreshold', 'shouldScaleBackground', 'setBackgroundColorOnScale', 'scrollLockTimeout', 'fixed', 'dismissible', 'modal', 'open', 'defaultOpen', 'nested', 'direction', 'noBodyStyles', 'handleOnly', 'preventScrollRestoration', 'snapPoints'), emits) const contentProps = toRef(() => props.content) const contentEvents = { closeAutoFocus: (e: Event) => e.preventDefault()