Form Fields

I have a page with 10 text fields. At a time, 5 are visible on the phone when the keyboard is not showing (when the keyboard is showing, only 2 are fully visible).

If I scroll manually along the page and tap each field to input the content, everything works fine.

But when I tap on the first field, and then navigate through the fields via the 'Next' and 'Prev' buttons on the keyboard of the phone, the app starts adding white space at the bottom of the container/page. And then when I try to scroll back up, the upper half of the page is inaccessible. So then the page comprises only of the last 5 fields and just white space.

What am I doing wrong? This only happens when you use the Next/Prev buttons to cycle through the fields. Can I somehow disable the Next/Prev buttons on Android? Or is there some other way to fix this issue?