We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b861d8c commit 7e9a1b7Copy full SHA for 7e9a1b7
packages/vuetify/src/components/VDialog/VDialog.tsx
@@ -43,6 +43,7 @@ export const VDialog = genericComponent<OverlaySlots>()({
43
44
emits: {
45
'update:modelValue': (value: boolean) => true,
46
+ afterEnter: () => true,
47
afterLeave: () => true,
48
},
49
@@ -89,6 +90,7 @@ export const VDialog = genericComponent<OverlaySlots>()({
89
90
}
91
92
function onAfterEnter () {
93
+ emit('afterEnter')
94
if (overlay.value?.contentEl && !overlay.value.contentEl.contains(document.activeElement)) {
95
overlay.value.contentEl.focus({ preventScroll: true })
96
0 commit comments