fix: disable vaul repositionInputs to fix iOS keyboard in drawers
Some checks failed
CI / Check / Test (push) Failing after 6m35s
Some checks failed
CI / Check / Test (push) Failing after 6m35s
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user