diff --git a/packages/vuetify/src/components/VDialog/VDialog.tsx b/packages/vuetify/src/components/VDialog/VDialog.tsx index 6dcdd26a390..ebc9d76ff03 100644 --- a/packages/vuetify/src/components/VDialog/VDialog.tsx +++ b/packages/vuetify/src/components/VDialog/VDialog.tsx @@ -70,8 +70,8 @@ export const VDialog = genericComponent { !overlay.value.contentEl.contains(after) ) { const focusable = [...overlay.value.contentEl.querySelectorAll( - 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])' - )].filter(el => !el.hasAttribute('disabled')) as HTMLElement[] + 'button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])' + )].filter(el => !el.hasAttribute('disabled') && !el.matches('[tabindex="-1"]')) as HTMLElement[] if (!focusable.length) return