mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: resolve aria-hidden accessibility error in dialog component
Remove custom onOpenAutoFocus handler that was preventing proper focus management in the EditGiteaProvider dialog. This fixes the 'Blocked aria-hidden on an element because its descendant retained focus' error by allowing the dialog component to handle focus naturally.
This commit is contained in:
parent
f04c8a36af
commit
5d5913f39d
@ -185,7 +185,7 @@ export const EditGiteaProvider = ({ giteaId }: Props) => {
|
|||||||
<PenBoxIcon className="size-3.5 text-primary group-hover:text-blue-500" />
|
<PenBoxIcon className="size-3.5 text-primary group-hover:text-blue-500" />
|
||||||
</Button>
|
</Button>
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent onOpenAutoFocus={(e) => e.preventDefault()}>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Edit Gitea Provider</DialogTitle>
|
<DialogTitle>Edit Gitea Provider</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
|
Loading…
Reference in New Issue
Block a user