fix: disable vaul repositionInputs to fix iOS keyboard in drawers
Some checks failed
CI / Check / Test (push) Failing after 6m35s

This commit is contained in:
2026-06-04 15:11:16 +02:00
parent dacc057af6
commit 4a3a99c6d2
17 changed files with 123 additions and 29 deletions

View File

@@ -4,9 +4,10 @@ import { Drawer as DrawerPrimitive } from "vaul"
import { cn } from "@/lib/utils"
function Drawer({
repositionInputs = false,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Root>) {
return <DrawerPrimitive.Root data-slot="drawer" {...props} />
return <DrawerPrimitive.Root data-slot="drawer" repositionInputs={repositionInputs} {...props} />
}
function DrawerTrigger({