mirror of
https://github.com/usememos/memos.git
synced 2025-12-15 03:28:29 +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" />
|
<MenuIcon className="size-5 text-foreground" />
|
||||||
</Button>
|
</Button>
|
||||||
</SheetTrigger>
|
</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>
|
<SheetHeader>
|
||||||
<SheetTitle />
|
<SheetTitle />
|
||||||
</SheetHeader>
|
</SheetHeader>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue