diff --git a/packages/vuetify/src/components/VDialog/VDialog.tsx b/packages/vuetify/src/components/VDialog/VDialog.tsx index 4dcdea83b59..6391b95df15 100644 --- a/packages/vuetify/src/components/VDialog/VDialog.tsx +++ b/packages/vuetify/src/components/VDialog/VDialog.tsx @@ -43,6 +43,7 @@ export const VDialog = genericComponent()({ emits: { 'update:modelValue': (value: boolean) => true, + afterEnter: () => true, afterLeave: () => true, }, @@ -89,6 +90,7 @@ export const VDialog = genericComponent()({ } function onAfterEnter () { + emit('afterEnter') if (overlay.value?.contentEl && !overlay.value.contentEl.contains(document.activeElement)) { overlay.value.contentEl.focus({ preventScroll: true }) }