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,6 +4,7 @@ import { useDrag } from "@use-gesture/react"
import { Trash2 } from "lucide-react"
import { Button } from "@/components/ui/button"
import { ConfirmDialog } from "@/components/confirm-dialog"
import { hapticMedium } from "@/lib/haptics"
type SwipeToDeleteProps = {
onDelete: () => void
@@ -31,6 +32,7 @@ export function SwipeToDelete({
setOffsetX(Math.min(0, Math.max(mx, -100)))
} else {
if (mx < -60) {
hapticMedium()
setRevealed(true)
setOffsetX(-80)
} else {