1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 16:03:25 +00:00

fix(front): fix focus when creating a new resource

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-12-14 11:14:29 +01:00
parent cecbea6db5
commit 76668e0beb
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -99,7 +99,7 @@
v-model:active="createResourceModal" v-model:active="createResourceModal"
has-modal-card has-modal-card
:close-button-aria-label="t('Close')" :close-button-aria-label="t('Close')"
trap-focus :autoFocus="false"
> >
<section class="w-full md:w-[640px]"> <section class="w-full md:w-[640px]">
<o-notification variant="danger" v-if="modalError"> <o-notification variant="danger" v-if="modalError">
@ -147,7 +147,7 @@
has-modal-card has-modal-card
aria-modal aria-modal
:close-button-aria-label="t('Close')" :close-button-aria-label="t('Close')"
trap-focus :autoFocus="false"
:width="640" :width="640"
> >
<div class="w-full md:w-[640px]"> <div class="w-full md:w-[640px]">