fix: try repositionInputs false

This commit is contained in:
Stephen Zhou 2024-12-25 21:04:49 +08:00
parent 128c8ca44d
commit 1d0795bdb5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export const PresentSheet = forwardRef<SheetRef, PropsWithChildren<PresentSheetP
useImperativeHandle(contentRef, () => contentInnerRef.current!)
return (
<Drawer.Root dismissible={dismissible} {...nextRootProps}>
<Drawer.Root dismissible={dismissible} repositionInputs={false} {...nextRootProps}>
{!!children && <Drawer.Trigger asChild={triggerAsChild}>{children}</Drawer.Trigger>}
<Drawer.Portal>
<Drawer.Content