diff --git a/packages/client/src/components/MkModal.vue b/packages/client/src/components/MkModal.vue index c65cc0fdc..d48b6cbc5 100644 --- a/packages/client/src/components/MkModal.vue +++ b/packages/client/src/components/MkModal.vue @@ -381,6 +381,8 @@ onMounted(() => { { immediate: true } ); + content.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')?.focus(); + nextTick(() => { new ResizeObserver((entries, observer) => { align();