diff --git a/src/Provider.tsx b/src/Provider.tsx index f0a3b3a..a14fbe3 100644 --- a/src/Provider.tsx +++ b/src/Provider.tsx @@ -141,7 +141,7 @@ export function useFormSmartScroll({ _keyboard.coordinates.end.screenY - currentFocus.height * 2 ) { if (wrapperOffset) { - return -Math.abs(currentFocus.height + wrapperOffset); + return -currentFocus.height; } return -Math.abs(currentFocus.height / 4);