BottomSheet: remove focus

This commit is contained in:
thislight 2024-11-04 18:03:05 +08:00
parent 9da4a3a4b3
commit 8205ff661b
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -228,6 +228,8 @@ const BottomSheet: ParentComponent<BottomSheetProps> = (props) => {
}} }}
onClick={onDialogClick} onClick={onDialogClick}
ref={element!} ref={element!}
tabIndex={-1}
role="presentation"
> >
{ochildren() ?? cache()} {ochildren() ?? cache()}
</dialog> </dialog>