Let’s say there are a list of input fields. I define the keyboard “Go” button to act as “Next” by using element.focus() (assume element is an input, element.focus() is used in a directive). When I hit the “Go” button, the view will scroll down correspondingly. But after the view moves down further and further. The view is not able to scroll back.
From the first input, just hit keyboard “Go”
Continue hitting “Go”
Continue hitting “Go”, now the focused input is the last one in current view.
Then hit “Go” once again, here, the issue happens. I cannot scroll up the view
Also, the bottom appears a large blank field.
For the code, it’s like: