From 8205ff661ba81e1026d9656598f7bc41ae494855 Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 4 Nov 2024 18:03:05 +0800 Subject: [PATCH] BottomSheet: remove focus --- src/material/BottomSheet.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/material/BottomSheet.tsx b/src/material/BottomSheet.tsx index 2ebed75..8a1dd62 100644 --- a/src/material/BottomSheet.tsx +++ b/src/material/BottomSheet.tsx @@ -228,6 +228,8 @@ const BottomSheet: ParentComponent = (props) => { }} onClick={onDialogClick} ref={element!} + tabIndex={-1} + role="presentation" > {ochildren() ?? cache()}