We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29168ab commit c1e9dc8Copy full SHA for c1e9dc8
src/Provider.tsx
@@ -141,7 +141,7 @@ export function useFormSmartScroll({
141
_keyboard.coordinates.end.screenY - currentFocus.height * 2
142
) {
143
if (wrapperOffset) {
144
- return -Math.abs(currentFocus.height + wrapperOffset);
+ return -currentFocus.height;
145
}
146
147
return -Math.abs(currentFocus.height / 4);
0 commit comments