mirror of
https://github.com/usememos/memos.git
synced 2025-12-13 00:27:44 +08:00
fix: prevent auto focus on open for sidebar drawer
This commit is contained in:
parent
76ca258f23
commit
87a661286b
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ const HomeSidebarDrawer = () => {
|
|||
<MenuIcon className="size-5 text-foreground" />
|
||||
</Button>
|
||||
</SheetTrigger>
|
||||
<SheetContent side="right" className="w-80 max-w-full bg-background">
|
||||
<SheetContent side="right" className="w-80 max-w-full bg-background" onOpenAutoFocus={(e) => e.preventDefault()}>
|
||||
<SheetHeader>
|
||||
<SheetTitle />
|
||||
</SheetHeader>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue